Skip to content

Commit 668ca8f

Browse files
committed
Apply suggestions from code review
1 parent 4faaf58 commit 668ca8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/opentripplanner/updater/GraphUpdaterManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,12 @@ private void reportReadinessForUpdaters() {
228228
}
229229
//noinspection BusyWait
230230
Thread.sleep(1000);
231-
} catch (RuntimeException e) {
232-
LOG.error(e.getMessage(), e);
233231
} catch (InterruptedException e) {
234232
Thread.currentThread().interrupt();
235233
otpIsShuttingDown = true;
236234
LOG.info("OTP is shutting down, cancelling wait for updaters readiness.");
235+
} catch (Exception e) {
236+
LOG.error(e.getMessage(), e);
237237
}
238238
}
239239
});

0 commit comments

Comments
 (0)