mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-05-19 13:58:37 -04:00
Expect platform init error
This commit is contained in:
@@ -150,6 +150,7 @@ public enum PlatformState {
|
||||
// Platform initialization has failed in this case
|
||||
var msg = getErrorMessage(t.getMessage());
|
||||
var ex = new UnsupportedOperationException(msg, t);
|
||||
ErrorEventFactory.expected(ex);
|
||||
PlatformState.setCurrent(PlatformState.EXITED);
|
||||
lastError = ex;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user