Closed oscarbrookssynacor closed 11 months ago
One way to suppress it appears to be by doing the following
@PostConstruct
public void exitCodeExceptionProvider() {
shell.setExitCodeExceptionProvider(null);
}
However in that case the exit code is always 0
My apologies, it appears that I just missed this setting:
logging.pattern.console=
hopefully someone finds this helpful in the future.
My apologies, it appears that I just missed this setting:
logging.pattern.console=
hopefully someone finds this helpful in the future.
Can you please share console pattern here
Non-interactive mode, even with a global exception handler still prints a stacktrace on a custom exception.
There does not appear to be a way to suppress it.