diff --git a/fe/fe-core/src/main/java/com/starrocks/journal/JournalWriter.java b/fe/fe-core/src/main/java/com/starrocks/journal/JournalWriter.java index fde313bf0fcf2..07cef804a9267 100644 --- a/fe/fe-core/src/main/java/com/starrocks/journal/JournalWriter.java +++ b/fe/fe-core/src/main/java/com/starrocks/journal/JournalWriter.java @@ -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);