Fixed logging if we cannot init javaFX
This commit is contained in:
parent
e24e42e4d9
commit
39ddd235f6
@ -61,10 +61,8 @@ class JavaFX {
|
|||||||
.getMethod("isFxUserThread", null);
|
.getMethod("isFxUserThread", null);
|
||||||
}
|
}
|
||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
if (SystemTray.DEBUG) {
|
|
||||||
SystemTray.logger.error("Cannot initialize JavaFX", e);
|
SystemTray.logger.error("Cannot initialize JavaFX", e);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
dispatchMethod = _dispatchMethod;
|
dispatchMethod = _dispatchMethod;
|
||||||
isEventThreadMethod = _isEventThreadMethod;
|
isEventThreadMethod = _isEventThreadMethod;
|
||||||
|
Loading…
Reference in New Issue
Block a user