Skip to content

Commit b9dbdb2

Browse files
authored
Handle interrupted exception at task level (#785)
1 parent b6a029a commit b9dbdb2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/pivovarit/collectors/Dispatcher.java

+1
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ void start() {
6565
task.run();
6666
} catch (InterruptedException e) {
6767
Thread.currentThread().interrupt();
68+
handle(e);
6869
throw new RuntimeException(e);
6970
} finally {
7071
limiter.release();

0 commit comments

Comments
 (0)