mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Expect first shell failure
This commit is contained in:
parent
fe7dd6aa71
commit
3f61701132
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ public class AppShellCheck {
|
||||||
&& OsType.getLocal() != OsType.MACOS;
|
&& OsType.getLocal() != OsType.MACOS;
|
||||||
if (err.isPresent() && canFallback) {
|
if (err.isPresent() && canFallback) {
|
||||||
var msg = formatMessage(err.get().getMessage());
|
var msg = formatMessage(err.get().getMessage());
|
||||||
ErrorEvent.fromThrowable(new IllegalStateException(msg)).handle();
|
ErrorEvent.fromThrowable(new IllegalStateException(msg)).expected().handle();
|
||||||
enableFallback();
|
enableFallback();
|
||||||
err = selfTestErrorCheck();
|
err = selfTestErrorCheck();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue