asp.net-mvcelmahelmah.mvc

How to log source error in elmah mvc?


I want to log source error in error page of my asp.net mvc application in the image. enter image description here

Elmah just log stack trace.

Is there any config that i should set? How?


Solution

  • ELMAH doesn't log this, since this is an UI feature of the yellow screen of death. The information in Source Error, is basically the same as in the stack trace. As what I can see, ErrorFormatter is used to generate this.