Fixed logging if we cannot init javaFX

This commit is contained in:
nathan 2016-12-10 23:38:08 +01:00
parent e24e42e4d9
commit 39ddd235f6

View File

@ -61,9 +61,7 @@ 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;