From 60bc77c7959031c865db80dbab65686706f0441b Mon Sep 17 00:00:00 2001 From: Sam Sykes Date: Tue, 11 Nov 2025 17:50:06 +0000 Subject: [PATCH] Update debugging messages. --- src/pipecat/services/speechmatics/tts.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pipecat/services/speechmatics/tts.py b/src/pipecat/services/speechmatics/tts.py index 7b40cf4eb..455eb1ce0 100644 --- a/src/pipecat/services/speechmatics/tts.py +++ b/src/pipecat/services/speechmatics/tts.py @@ -157,7 +157,7 @@ class SpeechmaticsTTSService(TTSService): # Report error frame yield ErrorFrame( - error=f"{self} HTTP 503 (attempt {attempt}, retry in {backoff_time:.2f}s)" + error=f"{self} Service unavailable [503] (attempt {attempt}, retry in {backoff_time:.2f}s)" ) # Wait before retrying @@ -171,14 +171,14 @@ class SpeechmaticsTTSService(TTSService): except (ValueError, ArithmeticError): yield FatalErrorFrame( - error=f"{self} Service unavailable (attempts {attempt})" + error=f"{self} Service unavailable [503] (attempts {attempt})" ) return # != 200 : Error if response.status != 200: yield FatalErrorFrame( - error=f"{self} Service unavailable ({response.status})" + error=f"{self} Service unavailable [{response.status}]" ) return