mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-12 18:59:06 +01:00
Add logging message when BrambleTestCase detects background thread exception
This commit is contained in:
@@ -36,6 +36,7 @@ public abstract class BrambleTestCase {
|
||||
@After
|
||||
public void afterBrambleTestCase() {
|
||||
Throwable thrown = exceptionInBackgroundThread;
|
||||
LOG.warning("background thread has thrown an exception unexpectedly");
|
||||
if (thrown != null) throw new AssertionError(thrown);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user