mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Fix NPE [release]
This commit is contained in:
parent
5ac27e6ff5
commit
a47eea8d3e
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue