exception reporting: if non-default errorHandler extension is specified in plugin.xml it should be used even if the plugin vendor is JetBrains (so exceptions from Android plugin will be send to Google)

This commit is contained in:
nik
2015-09-23 16:28:43 +03:00
parent a38a4c80e3
commit 50569c807d
@@ -1010,7 +1010,7 @@ public class IdeErrorsDialog extends DialogWrapper implements MessagePoolListene
return null;
}
IdeaPluginDescriptor plugin = PluginManager.getPlugin(pluginId);
if (plugin == null || PluginManagerMain.isDevelopedByJetBrains(plugin)) {
if (plugin == null) {
return getCorePluginSubmitter(reporters);
}
for (ErrorReportSubmitter reporter : reporters) {
@@ -1019,6 +1019,9 @@ public class IdeErrorsDialog extends DialogWrapper implements MessagePoolListene
return reporter;
}
}
if (PluginManagerMain.isDevelopedByJetBrains(plugin)) {
return getCorePluginSubmitter(reporters);
}
return null;
}