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