Hisoka-X commented on code in PR #9281:
URL: https://github.com/apache/seatunnel/pull/9281#discussion_r2083790983
##########
seatunnel-core/seatunnel-core-starter/src/main/java/org/apache/seatunnel/core/starter/SeaTunnel.java:
##########
@@ -40,9 +40,11 @@ public static <T extends CommandArgs> void run(Command<T>
command) throws Comman
command.execute();
} catch (ConfigRuntimeException e) {
showConfigError(e);
+ System.exit(1);
throw e;
- } catch (Exception e) {
+ } catch (Exception | Error e) {
showFatalError(e);
+ System.exit(1);
Review Comment:
we should print the error statck before exit. Should we should update
`showConfigError` and `showFatalError`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]