Skip to content

Commit 6b96c74

Browse files
committed
Don't log InterruptedException
1 parent dec21ef commit 6b96c74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/jsoup/integration/SessionIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static class ThreadCatcher implements Thread.UncaughtExceptionHandler {
194194
public void uncaughtException(Thread t, Throwable e) {
195195
if (e.getMessage().contains("Multiple threads"))
196196
multiThreadExceptions.incrementAndGet();
197-
else
197+
else if (!(e instanceof InterruptedException))
198198
e.printStackTrace();
199199
exceptionCount.incrementAndGet();
200200
}

0 commit comments

Comments
 (0)