dsmiley commented on a change in pull request #264:
URL: https://github.com/apache/solr/pull/264#discussion_r694332486



##########
File path: 
solr/core/src/java/org/apache/solr/schema/ManagedIndexSchemaFactory.java
##########
@@ -195,7 +223,16 @@ private InputStream readSchemaLocally() {
     InputStream schemaInputStream = null;
     try {
       // Attempt to load the managed schema
-      schemaInputStream = loader.openResource(managedSchemaResourceName);
+      try {
+        schemaInputStream = loader.openResource(managedSchemaResourceName);
+      }
+      catch (IOException e) {

Review comment:
       Uh.... SolrResourceNotFoundException extends IOException so it should be 
possible -- just catch it before IOException.  If you give up, I can submit to 
your PR.




-- 
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

Reply via email to