Posted by Ricibald on August 6th, 2013
In your .NET windows application you can’t catch all exceptions. There are critical exceptions that leaves your application inconsistent: in this case let your app crash.
But wait… and error reports? You have two alternatives:
- use the native Microsoft solution: Windows Error Reporting (WER). It’s not easy to customize but it’s fully integrated in Win OS (i.e. when your application freezes). Here how to use WER.
- use an off-the-shelf crash reporting library:
Note: if your application is an ASP.NET application, just use the excellent ELMAH