How to catch ALL exceptions/crashes in a .NET app [duplicate]

You can add an event handler to AppDomain.UnhandledException event, and it’ll be called when a exception is thrown and not caught.

Leave a Comment