1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-17 11:41:41 +00:00

inbox service: catch all errors to avoid service crash

This commit is contained in:
Benjamin Gamard
2018-03-04 16:10:32 +01:00
parent 1b05261a97
commit 44a1389dd7
3 changed files with 5 additions and 3 deletions

View File

@@ -56,7 +56,7 @@ public class InboxService extends AbstractScheduledService {
protected void runOneIteration() {
try {
syncInbox();
} catch (Exception e) {
} catch (Throwable e) {
log.error("Exception during inbox synching", e);
}
}