mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[platform] UIThemeProvider: log more details on errors loading theme.json, fix possible NPE
This commit is contained in:
@@ -32,7 +32,7 @@ public final class UIThemeProvider implements PluginAware {
|
||||
}
|
||||
catch (IOException e) {
|
||||
Logger.getInstance(getClass()).warn("error loading UITheme '" + path + "', " +
|
||||
"pluginId=" + myDescriptor.getPluginId().getIdString(), e);
|
||||
"pluginId=" + (myDescriptor != null ? myDescriptor.getPluginId().getIdString() : "(none)"), e);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user