david6969xin commented on a change in pull request #2688:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/2688#discussion_r790389926
##########
File path:
foundations/foundation-config/src/main/java/org/apache/servicecomb/config/archaius/sources/MicroserviceConfigLoader.java
##########
@@ -69,8 +70,8 @@ public void loadAndSort() {
}
sort();
- } catch (IOException e) {
- throw new ServiceCombException("Failed to load microservice config", e);
+ } catch (Exception e) {
+ throw new ServiceCombException("Failed to load microservice configFile "
+ configFileFromClasspath + " and " + e.getMessage());
Review comment:
done
##########
File path:
foundations/foundation-config/src/main/java/org/apache/servicecomb/config/YAMLUtil.java
##########
@@ -96,14 +96,18 @@ private YAMLUtil() {
for (Map.Entry<String, Object> entry : propertieMap.entrySet()) {
if (entry.getValue() instanceof Map) {
- result.putAll(retrieveItems(prefix + entry.getKey(), (Map<String,
Object>) entry.getValue()));
+ result.putAll(retrieveItems(prefix + entry.getKey(), (Map<String,
Object>) entry.getValue()));
Review comment:
ok
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]