You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2022/01/21 01:24:57 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on a change in pull request #2688: [SCB-2367] optimize microservice.yaml load log

liubao68 commented on a change in pull request #2688:
URL: https://github.com/apache/servicecomb-java-chassis/pull/2688#discussion_r789271830



##########
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:
       throw new ServiceCombException("Failed to load microservice configFile " + configFileFromClasspath, e);




-- 
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: commits-unsubscribe@servicecomb.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org