mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 12:20:56 +01:00
Fix log in cli exception handler
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user