Skip to content

Commit b92a6c2

Browse files
authored
Make StateMachineCaller thread will not exit when throw exception (#155)
1 parent 1a28252 commit b92a6c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/io/openmessaging/storage/dledger/statemachine/StateMachineCaller.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,8 @@ public void run() {
136136
}
137137
} catch (final InterruptedException e) {
138138
logger.error("Error happen in {} when pull task from task queue", getServiceName(), e);
139+
} catch (Throwable e) {
140+
logger.error("Apply task exception", e);
139141
}
140142
}
141143
}

0 commit comments

Comments
 (0)