mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
don't save RunConfigurationExtension settings if it throws WriteExternalException (IDEA-54637)
This commit is contained in:
@@ -117,7 +117,12 @@ public abstract class RunConfigurationExtension {
|
||||
for (RunConfigurationExtension extension : Extensions.getExtensions(EP_NAME)) {
|
||||
Element el = new Element("extension");
|
||||
el.setAttribute("name", extension.getName());
|
||||
extension.writeExternal(runConfiguration, el);
|
||||
try {
|
||||
extension.writeExternal(runConfiguration, el);
|
||||
}
|
||||
catch (WriteExternalException e) {
|
||||
continue;
|
||||
}
|
||||
map.put(extension.getName(), el);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user