Add the stack trace to uncaught exceptions to aid debugging