Fix log in cli exception handler

This commit is contained in:
René Pfeuffer
2022-05-03 14:34:28 +02:00
parent 9e8ac9a05f
commit c05ddf7376

View File

@@ -53,7 +53,7 @@ public class CliExecutionExceptionHandler implements CommandLine.IExecutionExcep
@Override
public int handleExecutionException(Exception ex, CommandLine commandLine, CommandLine.ParseResult parseResult) {
log.debug("got exception in cli execution of {}", commandLine.getCommand().getClass().getSimpleName(), ex);
log.debug("got exception in cli execution", ex);
if (ex instanceof CliExitException) {
return ((CliExitException) ex).getExitCode();
}