GH-193 logs warning if failFast is false

ConfigServicePropertySourceLocator should log a warning and not an error if failFast is false
This commit is contained in:
Glenn Renfro
2015-07-17 10:58:27 -04:00
committed by Dave Syer
parent 232e450929
commit 54f76bc2fd

View File

@@ -104,7 +104,7 @@ public class ConfigServicePropertySourceLocator implements PropertySourceLocator
"Could not locate PropertySource and the fail fast property is set, failing",
error);
}
logger.error("Could not locate PropertySource: "
logger.warn("Could not locate PropertySource: "
+ (errorBody == null ? error==null ? "label not found" : error.getMessage() : errorBody));
return null;