dsmiley commented on a change in pull request #408: URL: https://github.com/apache/solr/pull/408#discussion_r750287415
########## File path: solr/core/src/java/org/apache/solr/api/ContainerPluginsRegistry.java ########## @@ -343,7 +343,12 @@ public ApiInfo(PluginMetaHolder infoHolder, List<String> errs) { return; } } else { - klas = coreContainer.getResourceLoader().findClass(klassInfo.className, Object.class); + try { + klas = coreContainer.getResourceLoader().findClass(klassInfo.className, Object.class); + } catch (Exception e) { + errs.add("Error loading class " + e.toString()); Review comment: Looking at the findClass code, I can see that it's exception messages are sufficiently clear. Consequently, I think you needn't prefix by "Error loading class ". -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org