diff --git a/stack_orchestrator/deploy/webapp/util.py b/stack_orchestrator/deploy/webapp/util.py index 9dbc19c4..6cfdb118 100644 --- a/stack_orchestrator/deploy/webapp/util.py +++ b/stack_orchestrator/deploy/webapp/util.py @@ -46,7 +46,7 @@ def logged_cmd(log_file, *vargs): result.check_returncode() return result.stdout.decode() except Exception as err: - print(result.stderr.decode(), log_file) + print(str(err), file=log_file) raise err