mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Plugins: show plugins from custom repos when main is not available
This commit is contained in:
+8
-4
@@ -1400,12 +1400,16 @@ public class PluginManagerConfigurableNew
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (UnknownHostException e) {
|
||||
PluginManagerMain.LOG.info("Main plugin repository '" + e.getMessage() + "' is not available. Please check your network settings.");
|
||||
}
|
||||
catch (IOException e) {
|
||||
if (host == null) {
|
||||
exception = e;
|
||||
//noinspection InstanceofCatchParameter
|
||||
if (e instanceof UnknownHostException) {
|
||||
PluginManagerMain.LOG
|
||||
.info("Main plugin repository '" + e.getMessage() + "' is not available. Please check your network settings.");
|
||||
}
|
||||
else {
|
||||
exception = e;
|
||||
}
|
||||
}
|
||||
else {
|
||||
PluginManagerMain.LOG.info(host, e);
|
||||
|
||||
Reference in New Issue
Block a user