Skip to content

Commit

Permalink
Suppress all kinds of Throwables raised by report() (#1128)
Browse files Browse the repository at this point in the history
See #1049
  • Loading branch information
iksaif authored and arteam committed Jun 2, 2017
1 parent b850427 commit d87d30e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ synchronized public void start(long initialDelay, long period, TimeUnit unit) {
public void run() {
try {
report();
} catch (Exception ex) {
} catch (Throwable ex) {
LOG.error("Exception thrown from {}#report. Exception was suppressed.", ScheduledReporter.this.getClass().getSimpleName(), ex);
}
}
Expand Down

0 comments on commit d87d30e

Please sign in to comment.