use logger to print exception (#2151)

This commit is contained in:
tswstarplanet 2020-03-12 17:38:38 +08:00 committed by GitHub
parent ebfacbfcfa
commit e27ba3fd97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public abstract class AbstractShell {
try{
entry.getValue().destroy();
} catch (Exception e) {
e.printStackTrace();
logger.error("Destroy All Processes error", e);
}
}