From 80a8e214b1f29a7f84e31c769a73011e4a86abd8 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 28 Sep 2026 17:01:56 +0200 Subject: [PATCH] Name the archive file a write failed on --- bin/loop_claude/cycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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