Catch uncatched thrown Exceptions to get useful backtraces