RealtimeIndexTask: If a Throwable was thrown it is not a normalExit

This commit is contained in:
Gian Merlino 2014-01-08 14:45:35 -08:00
parent 83b4641e31
commit 7f430d9fde
1 changed files with 3 additions and 3 deletions

View File

@ -341,11 +341,11 @@ public class RealtimeIndexTask extends AbstractTask
}
}
}
catch (Exception e) {
catch (Throwable e) {
normalExit = false;
log.makeAlert(e, "Exception aborted realtime processing[%s]", schema.getDataSource())
.emit();
normalExit = false;
throw Throwables.propagate(e);
throw e;
}
finally {
if (normalExit) {