refactor(worker): broaden exception handling
This commit is contained in:
parent
f2dd16257d
commit
52199a24ee
1 changed files with 1 additions and 2 deletions
|
|
@ -619,12 +619,11 @@ public class Worker implements Runnable {
|
|||
lastException = result.getException();
|
||||
handleMissingIncompleteLeasesException(lastException);
|
||||
}
|
||||
} catch (MissingIncompleteLeasesException e) {
|
||||
throw e;
|
||||
} catch (LeasingException e) {
|
||||
LOG.error("Caught exception when initializing LeaseCoordinator", e);
|
||||
lastException = e;
|
||||
} catch (Exception e) {
|
||||
handleMissingIncompleteLeasesException(e);
|
||||
lastException = e;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue