Commit 4434416c by Jason Song Committed by GitHub

Merge pull request #421 from nobodyiam/message-refactor

refactor message when could not load config from server
parents cd7a73b1 34c094a2
...@@ -86,7 +86,7 @@ public class DefaultConfig extends AbstractConfig implements RepositoryChangeLis ...@@ -86,7 +86,7 @@ public class DefaultConfig extends AbstractConfig implements RepositoryChangeLis
} }
if (value == null && m_configProperties.get() == null) { if (value == null && m_configProperties.get() == null) {
logger.warn("Could not load config from Apollo, please check whether the configs are released in Apollo! Return default value now!"); logger.warn("Could not load config for namespace {} from Apollo, please check whether the configs are released in Apollo! Return default value now!", m_namespace);
} }
return value == null ? defaultValue : value; return value == null ? defaultValue : value;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment