Better logging for scheduler exceptions
This commit is contained in:
parent
b98db8c1ce
commit
5857551edb
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