Skip to content

Commit b211e2f

Browse files
committed
Log unchecked exceptions thrown on RepairRunner threads
1 parent 6d5e3df commit b211e2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/spotify/reaper/service/RepairRunner.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,9 @@ public void run() {
148148
repairRunners.remove(repairRunId);
149149
break;
150150
}
151-
} catch (ReaperException e) {
151+
} catch (ReaperException | RuntimeException e) {
152152
LOG.error("RepairRun FAILURE");
153-
LOG.error(e.getMessage());
153+
LOG.error(e.toString());
154154
LOG.error(Arrays.toString(e.getStackTrace()));
155155
e.printStackTrace();
156156
storage.updateRepairRun(repairRun.with()

0 commit comments

Comments
 (0)