diff --git a/orchestra/actions/util.py b/orchestra/actions/util.py index f85e163d54a4812f1d6f561283914030969e751a..7aab16b11b87fe9f818583295d63903f0cab1d9d 100644 --- a/orchestra/actions/util.py +++ b/orchestra/actions/util.py @@ -47,7 +47,7 @@ def run_script(script, result = subprocess.run(["/bin/bash", "-c", script_to_run], stdout=stdout, stderr=stderr) if check_returncode and result.returncode != 0: logger.error(f"Subprocess exited with exit code {result.returncode}") - logger.error(f"Script executed: {script_to_run}") + logger.error(f"Script executed: {export_environment(environment)}{script}") if quiet: stdout_content = try_decode(result.stdout) stderr_content = try_decode(result.stderr)