mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 11:49:04 +01:00
Print stack trace for uncaught exceptions during tests for easier debugging
This commit is contained in:
@@ -10,6 +10,7 @@ public abstract class BriarTestCase {
|
||||
// Ensure exceptions thrown on worker threads cause tests to fail
|
||||
UncaughtExceptionHandler fail = new UncaughtExceptionHandler() {
|
||||
public void uncaughtException(Thread thread, Throwable throwable) {
|
||||
throwable.printStackTrace();
|
||||
fail();
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user