mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-122677 (do not show "fatal error" dialog if the app is already loaded)
This commit is contained in:
@@ -99,13 +99,10 @@ public class PluginManager extends PluginManagerCore {
|
||||
}
|
||||
|
||||
public static void processException(Throwable t) {
|
||||
@SuppressWarnings("ThrowableResultOfMethodCallIgnored") StartupAbortedException se = findCause(t);
|
||||
if (!IdeaApplication.isLoaded()) {
|
||||
@SuppressWarnings("ThrowableResultOfMethodCallIgnored") StartupAbortedException se = findCause(t);
|
||||
if (se == null) se = new StartupAbortedException(t);
|
||||
|
||||
if (se == null && !IdeaApplication.isLoaded()) {
|
||||
se = new StartupAbortedException(t);
|
||||
}
|
||||
|
||||
if (se != null) {
|
||||
if (se.logError()) {
|
||||
try {
|
||||
if (Logger.isInitialized() && !(t instanceof ProcessCanceledException)) {
|
||||
@@ -119,8 +116,7 @@ public class PluginManager extends PluginManagerCore {
|
||||
|
||||
System.exit(se.exitCode());
|
||||
}
|
||||
|
||||
if (!(t instanceof ProcessCanceledException)) {
|
||||
else if (!(t instanceof ProcessCanceledException)) {
|
||||
getLogger().error(t);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user