Add logging message when BrambleTestCase detects background thread exception

This commit is contained in:
Sebastian Kürten
2022-03-29 09:30:51 +02:00
parent 3e597ceff8
commit 243df3096a

View File

@@ -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);
}
}