From 5983ae27be91334c1f7bfbcde07c607f1d6ed63f Mon Sep 17 00:00:00 2001 From: Logan Cusano Date: Tue, 27 Oct 2026 20:18:16 -0400 Subject: [PATCH] Fix stale log text for rejected uploads: 403 is now retried, so only 400/413 reach it (node-26#44) Co-Authored-By: Claude Opus 5.5 --- drb-edge-node/app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drb-edge-node/app/main.py b/drb-edge-node/app/main.py index 4f26efa..beca2b7 100644 --- a/drb-edge-node/app/main.py +++ b/drb-edge-node/app/main.py @@ -123,7 +123,7 @@ async def on_call_end(data: dict): data["audio_upload"] = "rejected" logger.error( f"Audio upload for call {data['call_id']} was rejected ({last.get('detail')}). " - "Verify the node is approved and its API key is current." + "C2 refused this recording (malformed request or file too large); it was not kept." ) elif recording is not None and recording.all_silence: # Explicit policy: an all-silence recording is not uploaded. It has no