Is global.asax Application_Error event not fired if custom errors are turned on?

前端 未结 1 943
梦谈多话
梦谈多话 2020-12-18 21:59

If you have custom errors set to RemoteOnly in web config - does this mean that MVC\'s application level error event in global.asax - Applica

1条回答
  •  失恋的感觉
    2020-12-18 22:45

    If you do not call Server.ClearError or trap the error in the Page_Error or Application_Error event handler, the error is handled based on the settings in the section of the Web.config file.

    See this SO question for more information

    0 讨论(0)
提交回复
热议问题