开发者

Application_Error event in Global.asax not firing in Release Mode? ASP.NET MVC application

开发者 https://www.devze.com 2022-12-11 08:15 出处:网络
I\'m working on an ASP.NET MVC application. I\'m having a problem where my Application_Error() event in my Global.asax file isn\'t firing in Release Mode. If I compile in Debug it fires just

I'm working on an ASP.NET MVC application. I'm having a problem where my Application_Error() event in my Global.asax file isn't firing in Release Mode. If I compile in Debug it fires just fine.

PS: I'm using NLogger to log my runtime errors.

Any help is appr开发者_JAVA百科eciated. Thanks.


Are you sure that it's just not NLogger that doesn't log in Release mode? How do you know Application_Error isn't firing?

0

精彩评论

暂无评论...
验证码 换一张
取 消