Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: gengjun-git <[email protected]>
  • Loading branch information
gengjun-git committed Feb 12, 2025
1 parent 0b7efca commit bcf095f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ public void startDaemon() {
protected void runOneCycle() {
try {
writeOneBatch();
} catch (InterruptedException e) {
String msg = "got interrupted exception when trying to write one batch, will exit now.";
LOG.error(msg, e);
} catch (Throwable t) {
String msg = "got exception when trying to write one batch, will exit now.";
LOG.error(msg, t);
// TODO we should exit gracefully on InterruptedException
Util.stdoutWithTime(msg);
System.exit(-1);
Expand Down

0 comments on commit bcf095f

Please sign in to comment.