protected void Application_Error(object sender, EventArgs e)
{
Exception ex = this.Server.GetLastError().GetBaseException();
if (ex is ArgumentErrorException)
{
return;
}
LogHelper.CurrentLogger.Error(" 出现未预计的异常 ", ex);
this.Response.Redirect("/Error.aspx");
正文完
发表至: 建站源码
2015-02-09