Forráskód Böngészése

Update shell_execute.py

qiaofeng1227 2 éve
szülő
commit
ca02c73cec
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      appmanage/api/utils/shell_execute.py

+ 1 - 1
appmanage/api/utils/shell_execute.py

@@ -23,7 +23,7 @@ def execute_command_output_all(cmd_str):
     else:
        myLogger.info_logger("failed to execute cmd, output failed result")
        myLogger.info_logger(process)
-       raise CommandException(const.ERROR_SERVER_COMMAND,"Docker returns the original error",str(process.stderr))
+       raise CommandException(const.ERROR_SERVER_COMMAND,"Docker returns the original error",process)
 
 def convert_command(cmd_str):
     convert_cmd = ""