Skip to content

Commit

Permalink
[minor](log) print error msg to fe.out before log is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
morningman committed Jul 21, 2023
1 parent f7ac827 commit 5bef880
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fe/fe-core/src/main/java/org/apache/doris/DorisFE.java
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,9 @@ public static void start(String dorisHomeDir, String pidDir, String[] args, Star
Thread.sleep(2000);
}
} catch (Throwable e) {
// Some exception may thrown before LOG is inited.
// So need to print to stdout
e.printStackTrace();
LOG.warn("", e);
}
}
Expand Down

0 comments on commit 5bef880

Please sign in to comment.