diff --git a/bin/loop_claude/cycle.py b/bin/loop_claude/cycle.py index 6f763574..9c5a144c 100644 --- a/bin/loop_claude/cycle.py +++ b/bin/loop_claude/cycle.py @@ -53,6 +53,6 @@ def archive(root, path, note, paths): if not copy.exists(): for dest, data in ((copy.with_suffix(".verdict.md"), f"{note}\n".encode()), (copy, raw)): if failure := replace_file(dest, data): - return Failure(f"could not archive the transcript: {failure.filename}: {failure.strerror}") + return Failure(f"could not archive the transcript: {dest}: {failure.strerror}") print(f"transcript: {copy}", file=sys.stderr) return None