Mashtani
Mashtani

Reputation: 641

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?

Upvotes: 1

Views: 133

Answers (1)

ThomasArdal
ThomasArdal

Reputation: 5259

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.

Upvotes: 1

Related Questions