Improve shell check display

This commit is contained in:
crschnick 2024-01-24 06:08:23 +00:00
parent 1b7181a744
commit 2dead13d4d

View file

@ -25,7 +25,7 @@ public class AppShellCheck {
You can reach out to us if you want to properly diagnose the cause individually and hopefully fix it.
""".formatted(ShellDialects.getPlatformDefault().getDisplayName(), err.get());
ErrorEvent.fromMessage(msg).handle();
ErrorEvent.fromThrowable(new IllegalStateException(msg)).handle();
}
}