Fix exit codes

- Fix not to error so that other mappers can be used.
- Relates #431
This commit is contained in:
Janne Valkealahti
2022-06-03 12:52:57 +01:00
parent fa8693901f
commit 3556352ab3

View File

@@ -54,7 +54,8 @@ public class ExitCodeAutoConfiguration {
if (exception.getCause() instanceof CommandExecution.CommandParserExceptionsException) {
return 2;
}
return 1;
// only map parsing error so that other mappers can do their job
return 0;
}
}