How do I combine MVCContrib's "Rescue" with Elmah?
- by Chris
I got the Rescue attribute working. It properly serves up the DefaultError view when there is an unhandled exception.
However, these exceptions will not get logged or emailed. This SO question is answered by Atif Aziz and it looks pretty solid, but it applies to the built-in HandleErrorAttribute, which Rescue replaces, right? How do I get that to work with Rescue? I want to make sure that if an unhandled exception arises, that the user gets served up the view specified with the Rescue attribute, but the exception is still properly logged, and viewable with elmah.axd.