catch all errors (#3844)

This commit is contained in:
Parag Jain 2017-01-24 19:01:30 -06:00 committed by David Lim
parent 515caa8a85
commit b3dae0efc3
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ public class KafkaSupervisor implements Supervisor
try {
notice.handle();
}
catch (Exception e) {
catch (Throwable e) {
log.makeAlert(e, "KafkaSupervisor[%s] failed to handle notice", dataSource)
.addData("noticeClass", notice.getClass().getSimpleName())
.emit();