Skip to content

Make exceptions less annoying

This adds a little trick I figured out a while back: you can turn off the stack trace on exceptions if you instance a new exceptions service. The default service is completely worthless so far as I can tell: the stack trace just points back to the service that caught the exception. And it takes forever to do it.

Yeah, exception service, good job, you caught the exception. Why do you need to light my laptop on fire and waste 2 minutes and an incredible amount of cpu and memory?

Merge request reports