restore exception catch in woker run method to maintain old behavior
This commit is contained in:
parent
6ca825e5c5
commit
28d4416953
1 changed files with 6 additions and 2 deletions
|
|
@ -641,8 +641,12 @@ public class Worker implements Runnable {
|
|||
return;
|
||||
}
|
||||
|
||||
initialize();
|
||||
LOG.info("Starting worker loop.");
|
||||
try {
|
||||
initialize();
|
||||
LOG.info("Starting worker loop.");
|
||||
} catch (RuntimeException e1) {
|
||||
LOG.error("Could not start worker loop as worker is failed to initialize.");
|
||||
}
|
||||
|
||||
while (!shouldShutdown()) {
|
||||
runProcessLoop();
|
||||
|
|
|
|||
Loading…
Reference in a new issue