Expect first shell failure

This commit is contained in:
crschnick 2024-10-14 05:14:21 +00:00
parent fe7dd6aa71
commit 3f61701132

View file

@ -22,7 +22,7 @@ public class AppShellCheck {
&& OsType.getLocal() != OsType.MACOS;
if (err.isPresent() && canFallback) {
var msg = formatMessage(err.get().getMessage());
ErrorEvent.fromThrowable(new IllegalStateException(msg)).handle();
ErrorEvent.fromThrowable(new IllegalStateException(msg)).expected().handle();
enableFallback();
err = selfTestErrorCheck();
}