fix to finally statement
This commit is contained in:
@@ -581,7 +581,6 @@ class SpeechmaticsSTTService(STTService):
|
|||||||
logger.debug(f"{self} Connected to Speechmatics STT service")
|
logger.debug(f"{self} Connected to Speechmatics STT service")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error(f"{self} Error connecting to Speechmatics: {e}")
|
logger.error(f"{self} Error connecting to Speechmatics: {e}")
|
||||||
finally:
|
|
||||||
self._client = None
|
self._client = None
|
||||||
|
|
||||||
async def _disconnect(self) -> None:
|
async def _disconnect(self) -> None:
|
||||||
|
|||||||
Reference in New Issue
Block a user