Merge pull request #843 from ashwing/scheduler_error_logging
Better logging for scheduler exceptions
This commit is contained in:
commit
36ff9dc0b3
1 changed files with 1 additions and 3 deletions
|
|
@ -371,10 +371,8 @@ public class Scheduler implements Runnable {
|
||||||
leaderElectedPeriodicShardSyncManager.start();
|
leaderElectedPeriodicShardSyncManager.start();
|
||||||
streamSyncWatch.start();
|
streamSyncWatch.start();
|
||||||
isDone = true;
|
isDone = true;
|
||||||
} catch (LeasingException e) {
|
|
||||||
log.error("Caught exception when initializing LeaseCoordinator", e);
|
|
||||||
lastException = e;
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
log.error("Caught exception when initializing LeaseCoordinator", e);
|
||||||
lastException = e;
|
lastException = e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue