mirror of https://github.com/apache/lucene.git
must use the SolrCore#createRequestHandler to get the proper error message
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@809466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a7a3a149ba
commit
d827172faf
|
@ -147,7 +147,7 @@ final class RequestHandlers {
|
||||||
throw new Exception( "Unknown startup value: '"+info.startup+"' for: "+info.className );
|
throw new Exception( "Unknown startup value: '"+info.startup+"' for: "+info.className );
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
requestHandler = (SolrRequestHandler) config.getResourceLoader().newInstance(info.className);
|
requestHandler = core.createRequestHandler(info.className);
|
||||||
}
|
}
|
||||||
handlers.put(info,requestHandler);
|
handlers.put(info,requestHandler);
|
||||||
requestHandler.init(info.initArgs);
|
requestHandler.init(info.initArgs);
|
||||||
|
|
Loading…
Reference in New Issue