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();
|
||||
streamSyncWatch.start();
|
||||
isDone = true;
|
||||
} catch (LeasingException e) {
|
||||
log.error("Caught exception when initializing LeaseCoordinator", e);
|
||||
lastException = e;
|
||||
} catch (Exception e) {
|
||||
log.error("Caught exception when initializing LeaseCoordinator", e);
|
||||
lastException = e;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue