Don't raise exceptions for errors

This commit is contained in:
Mark Backman
2026-03-17 09:18:32 -04:00
parent c17e61089c
commit e3023189bb
2 changed files with 0 additions and 2 deletions

View File

@@ -362,4 +362,3 @@ class TogetherSTTService(WebsocketSTTService):
error_code = error_info.get("code", "")
msg = f"Together AI STT error [{error_code}]: {error_msg}"
await self.push_error(error_msg=msg)
raise Exception(msg)

View File

@@ -357,7 +357,6 @@ class TogetherTTSService(WebsocketTTSService):
error_code = error.get("code", "")
msg = f"Together AI TTS error [{error_code}]: {error_msg}"
await self.push_error(error_msg=msg)
raise Exception(msg)
# ------------------------------------------------------------------
# Interruption handling