I've got my customErrors
mode set to On and redirecting to:
Here's my view in my solution:
Whenever I have an unhandled exception, my app redirects me to the Error page, as expected. But, I lose the exception information, because, I'm assuming, the app is redirecting. I even tried redirectMode="ResponseRewrite"
in the customErrors element, but that didn't work.
So, here's my "Index" view on my Error controller, which the app is redirecting to- notice the model:
And further down, I have:
But, @Model is null. How can I get the exception information from a customErrors redirect?