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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
b62912b6fe
commit
5983ae27be
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user