mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
JavaFX: Log uncaught exceptions in SceneBuilder, use per-thread uncaught exception handler (IDEA-161991)
This commit is contained in:
@@ -105,9 +105,7 @@ public class SceneBuilderImpl implements SceneBuilder {
|
||||
if (myProject.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
if (Thread.getDefaultUncaughtExceptionHandler() == null) {
|
||||
Thread.setDefaultUncaughtExceptionHandler(SceneBuilderImpl::logUncaughtException);
|
||||
}
|
||||
Thread.currentThread().setUncaughtExceptionHandler(SceneBuilderImpl::logUncaughtException);
|
||||
|
||||
myEditorController = new EditorController();
|
||||
updateCustomLibrary();
|
||||
|
||||
Reference in New Issue
Block a user