All of our handlers have a try catch around the code within the handler and upon an unhandled exception happening simply logs the exception to our log file.
We were wondering if:
- Does nservicebus already do the unhandled exception logging for us with its built in logging meaning this is not necessary to do throughout every handler?
- Is there an easy way to extend nservicebus to automatically do the above for us so we don’t have to add a try catch + logging + re throwing to all our handlers?
- Are there any recommendations on how to perform logging of unhandled exceptions in nservicebus?