This is an automated email from the ASF dual-hosted git repository.

lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new e27ba3f  use logger to print exception (#2151)
e27ba3f is described below

commit e27ba3fd978006a56d26bbf1f7d15255296af5fe
Author: tswstarplanet <[email protected]>
AuthorDate: Thu Mar 12 17:38:38 2020 +0800

    use logger to print exception (#2151)
---
 .../java/org/apache/dolphinscheduler/common/shell/AbstractShell.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/shell/AbstractShell.java
 
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/shell/AbstractShell.java
index 101da18..f846b19 100644
--- 
a/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/shell/AbstractShell.java
+++ 
b/dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/shell/AbstractShell.java
@@ -335,7 +335,7 @@ public abstract class AbstractShell {
                        try{  
                          entry.getValue().destroy();
                        } catch (Exception e) {
-                               e.printStackTrace();
+                               logger.error("Destroy All Processes error", e);
                        }
                  }
                  

Reply via email to