Do you log all errors (with SSW Exception Manager)?

Last updated by Brady Stroud [SSW] about 1 month ago.See history

All unhandled exceptions should be logged to provide developers with sufficient information to fix bugs when they occur. There are two options we for logging exceptions:

The Microsoft Exception Management Application BlockMicrosoft provides full source code for the EMAB, which is fully extensible with custom logging target extensions. We decided to customize the EMAB to produce the SSW Exception Management Block, which logs exceptions to a database using a web service, allowing us to keep a history of all exceptions.

Figure: Exception Reporting Web Service

Your code should not contain any empty catch blocks as this can hamper exception handling and debugging.

We have a program called SSW Code Auditor to check for this rule.

We have a program called SSW .NET Toolkit that implements Exception Logging and Handling

Adam Cogan
We open source. Powered by GitHub