Expect platform init error

This commit is contained in:
crschnick
2026-01-14 12:42:43 +00:00
parent a00608e5f5
commit 58d6f2ddf5

View File

@@ -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;