Skip to content

Commit

Permalink
Merge pull request #10656 from petr-balogh/expand-user-in-traceback-log
Browse files Browse the repository at this point in the history
Expand user in path for traceback log
  • Loading branch information
petr-balogh authored Oct 11, 2024
2 parents 1417982 + a277b15 commit 7e4904d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocs_ci/framework/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def signal_term_handler(sig, frame):
print(f"Got SIGTERM: {sig}")
if hasattr(framework.config, "RUN"):
framework.config.RUN["aborted"] = True
logdir = framework.config.RUN["log_dir"]
logdir = os.path.expanduser(framework.config.RUN["log_dir"])
with open(os.path.join(logdir, "traceback.log"), "w") as f:
faulthandler.dump_traceback(file=f)
global kill_counter
Expand Down

0 comments on commit 7e4904d

Please sign in to comment.