Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EG-69 - fixed bug with picocli that was causing uncaught exception's …
…stacktrace to always be printed on stderr (corda#5985) calling `picocli.CommandLine.AbstractHandler#andExit` causes the exception handler to forcefully terminate the program execution (calling `java.lang.System#exit`) at all costs, even in case of `ExecutionException` being throw by `picocli.CommandLine#parseWithHandlers(picocli.CommandLine.IParseResultHandler2<R>, picocli.CommandLine.IExceptionHandler2<R>, java.lang.String...)`, this was causing the program to always print the exception stack trace on the `stderr` and terminating even before entering the `catch` block from lines 85 to 93
- Loading branch information