Skip to content
Snippets Groups Projects
Commit f2d3e4cb authored by akwizgran's avatar akwizgran
Browse files

Remove crash handler when handling first crash. Fixes bug #76.

parent e4a79b81
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,8 @@ class CrashHandler implements UncaughtExceptionHandler {
public void uncaughtException(Thread thread, Throwable throwable) {
LOG.log(WARNING, "Uncaught exception", throwable);
// Don't handle more than one exception
Thread.setDefaultUncaughtExceptionHandler(delegate);
// Get the stack trace
StringWriter sw = new StringWriter();
PrintWriter pw = new PrintWriter(sw);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment