mirror of https://github.com/apache/lucene.git
deprecated getSolrCore() was hiding exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600695 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
7dad8508d8
commit
c25f9eaeca
|
@ -254,8 +254,8 @@ public final class SolrCore {
|
||||||
instance = new SolrCore(null, new SolrConfig(), null);
|
instance = new SolrCore(null, new SolrConfig(), null);
|
||||||
}
|
}
|
||||||
catch(Exception xany) {
|
catch(Exception xany) {
|
||||||
log.throwing("SolrCore", "getSolrCore", xany);
|
throw new SolrException( SolrException.ErrorCode.SERVER_ERROR,
|
||||||
return null;
|
"error creating core", xany );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue