1) Log exception when there is an error removing a segment

This commit is contained in:
cheddar 2013-06-25 11:18:04 -07:00
parent 9d80369c2b
commit cd0fa34a73
1 changed files with 1 additions and 1 deletions

View File

@ -261,7 +261,7 @@ public class ZkCoordinator implements DataSegmentChangeHandler
announcer.unannounceSegment(segment);
}
catch (Exception e) {
log.makeAlert("Failed to remove segment")
log.makeAlert(e, "Failed to remove segment")
.addData("segment", segment)
.emit();
}