You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by dw...@apache.org on 2021/03/10 10:09:17 UTC

[lucene] 20/23: test fixed

This is an automated email from the ASF dual-hosted git repository.

dweiss pushed a commit to branch jira/solr14827
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 898a8d9826770b9504748bd0095b634e7bdde0f4
Author: noblepaul <no...@gmail.com>
AuthorDate: Tue Dec 8 11:26:07 2020 +1100

    test fixed
---
 solr/core/src/java/org/apache/solr/schema/IndexSchemaFactory.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/solr/core/src/java/org/apache/solr/schema/IndexSchemaFactory.java b/solr/core/src/java/org/apache/solr/schema/IndexSchemaFactory.java
index f4c52bd..c49cb12 100644
--- a/solr/core/src/java/org/apache/solr/schema/IndexSchemaFactory.java
+++ b/solr/core/src/java/org/apache/solr/schema/IndexSchemaFactory.java
@@ -83,6 +83,8 @@ public abstract class IndexSchemaFactory implements NamedListInitializedPlugin {
     try {
       schemaInputStream = loader.openResource(resourceName);
       return new IndexSchema(resourceName, getConfigResource(configSetService, schemaInputStream, loader, resourceName), config.luceneMatchVersion, loader, config.getSubstituteProperties());
+    } catch (RuntimeException rte) {
+      throw rte;
     } catch (Exception e) {
       final String msg = "Error loading schema resource " + resourceName;
       log.error(msg, e);