liubao68 commented on code in PR #3513:
URL:
https://github.com/apache/servicecomb-java-chassis/pull/3513#discussion_r1046563008
##########
core/src/main/java/org/apache/servicecomb/core/provider/producer/ProducerBootListener.java:
##########
@@ -123,4 +138,23 @@ public void onAfterClose(BootEvent event) {
operationMeta.getExecutor().getClass().getName());
}
}
+
+ private void exportToFile(String fileName, String content) {
+ File file = new File(fileName);
+ if (!file.getParentFile().exists()) {
+ if (!file.getParentFile().mkdirs()) {
+ LOGGER.error("create file directory failed");
Review Comment:
should return
--
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]