Can the ASP.NET Yellow Screen of Death (YSOD) be generated on demand or captured?

前端 未结 6 1338
-上瘾入骨i
-上瘾入骨i 2020-12-30 14:52

We\'d like to just capture the YSOD output to use in an erorr reporting email, from a Global.asax error handler, for instance. Is there any way of leveraging the built-in ys

6条回答
  •  生来不讨喜
    2020-12-30 15:27

    Have you heard of ELMAH ? It might give you all the features you really want...

    Here is a blog post that explains a bit about it : http://www.hanselman.com/blog/ELMAHErrorLoggingModulesAndHandlersForASPNETAndMVCToo.aspx

提交回复
热议问题