mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-17 21:29:54 +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
|
@After
|
||||||
public void afterBrambleTestCase() {
|
public void afterBrambleTestCase() {
|
||||||
Throwable thrown = exceptionInBackgroundThread;
|
Throwable thrown = exceptionInBackgroundThread;
|
||||||
|
LOG.warning("background thread has thrown an exception unexpectedly");
|
||||||
if (thrown != null) throw new AssertionError(thrown);
|
if (thrown != null) throw new AssertionError(thrown);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user