Skip to content

Commit 8f06d0a

Browse files
committed
Modifications after some code review remarks
Signed-off-by: Franck LECUYER <[email protected]>
1 parent 3304e6f commit 8f06d0a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/org/gridsuite/securityanalysis/server/service/SecurityAnalysisWorkerService.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,11 @@ public Consumer<Flux<Message<String>>> consumeRun() {
186186
runRequests.remove(resultContext.getResultUuid());
187187
});
188188
})
189-
.onErrorContinue((t, r) -> LOGGER.error("Exception in consumeRun", t))
189+
.onErrorContinue((t, r) -> {
190+
if (!(t instanceof CancellationException)) {
191+
LOGGER.error("Exception in consumeRun", t);
192+
}
193+
})
190194
.subscribe();
191195
}
192196

0 commit comments

Comments
 (0)