User-1187675394 posted
I have used the code from the the page "http://benfoster.io/blog/aspnet-mvc-custom-error-pages" in order to create a customized error message.
However forgot about that the the customized error page should be displayed only in production phase, not in test development phase. If I retreive a error message in test development I would like to read the error message, not reading the customized error
page.
Do you know guys how I should do it?
I'm using ASP.net mvc 4.
Thanks!