Adds resource to logging

This commit is contained in:
spencergibb
2021-03-12 18:49:39 -05:00
parent 6644036516
commit 03cdebcffd

View File

@@ -159,7 +159,7 @@ public class ConfigServerConfigDataLoader implements ConfigDataLoader<ConfigServ
throw new IllegalStateException("Could not locate PropertySource and " + reason + ", failing"
+ (errorBody == null ? "" : ": " + errorBody), error);
}
logger.warn("Could not locate PropertySource: " + (error != null ? error.getMessage() : errorBody));
logger.warn("Could not locate PropertySource (" + resource + "): " + (error != null ? error.getMessage() : errorBody));
return null;
}