Everyone knows (or should know) that handling exceptions is a fundamental feature of the .NET environment. And most of the time if we don’t handle the exception ourselves the .NET environment will handle it for us. However, letting the environment deal with the exception leaves us with absolutely nothing intelligent for our customers to report back to us when they call to report an error.
So, at a minimum, every application should have some way of getting some of the critical information back to the developer about what happened when the exception happened. Log it to a file. Log it to a database. Send an email. But do something.
Fortunately, DotNetNuke has an API call that we can make that will do all the hard work for us. All we need to do is to make sure we call it.
(more…)