Removing CancelledError handling from DeepgramSTTService.
This commit is contained in:
@@ -633,8 +633,6 @@ class DeepgramSTTService(STTService):
|
||||
self._keepalive_handler(), f"{self}::keepalive"
|
||||
)
|
||||
await connection.start_listening()
|
||||
except asyncio.CancelledError:
|
||||
raise
|
||||
except Exception as e:
|
||||
logger.warning(f"{self}: Connection lost, will retry: {e}")
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user