RobotStudio event

Catch unhandled exceptions in add-in instead of crashing RobotStudio

Hello,

I'm developing a RobotStudio add-in. Every once in a while my Add-In will throw an exception, and I get a "RobotStudio - Fatal Error" message box. Once you click yes or no, RobotStudio crashes.

Is there an easy way to catch any unhandled exceptions in my Add-In without placing try/catches around every method? I've used the dispatcher unhandled exception handler in other WPF applications, but I can't find anything like that for my add-in.

Thank you for the help!