Fix NPE [release]

This commit is contained in:
crschnick 2023-04-21 12:15:23 +00:00
parent 5ac27e6ff5
commit a47eea8d3e

View file

@ -16,7 +16,7 @@ public class ExceptionConverter {
return switch (ex) {
case ProcessOutputException e -> {
if (e.getOutput().isBlank()) {
if (e.getOutput() == null || e.getOutput().isBlank()) {
yield e.getMessage();
} else {
yield e.getOutput();