/// <summary> /// OnError /// </summary> /// <param name="e"></param> protected override void OnError(EventArgs e) { Exception ex = Server.GetLastError(); Log.Error(ex.Message, ex); Server.ClearError(); ScriptUtils.ShowMsg("提示", ex.Message); }