Browse Source

use logger to print exception (#2151)

tswstarplanet 5 years ago
parent
commit
e27ba3fd97

+ 1 - 1
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);
 		  	}
 		  }