mirror of https://github.com/apache/lucene.git
SOLR-7742: Avoid stacktrace in info logging
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1692309 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
fbd467ad76
commit
d50f1e3703
|
@ -48,7 +48,7 @@ public class ConfigSetProperties {
|
|||
try {
|
||||
reader = new InputStreamReader(loader.openResource(name), StandardCharsets.UTF_8);
|
||||
} catch (SolrResourceNotFoundException ex) {
|
||||
log.info("Did not find ConfigSet properties", ex);
|
||||
log.info("Did not find ConfigSet properties, assuming default properties: " + ex.getMessage());
|
||||
return null;
|
||||
} catch (Exception ex) {
|
||||
throw new SolrException(ErrorCode.SERVER_ERROR, "Unable to load reader for ConfigSet properties: " + name, ex);
|
||||
|
|
Loading…
Reference in New Issue