Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deepgram/clients/live/v1/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ async def _start(self) -> None:
self.logger.error(
f"WebSocket connection closed with code {e.code}: {e.reason}"
)
self._emit(LiveTranscriptionEvents.Error, error=error)
await self._emit(LiveTranscriptionEvents.Error, error=error)
self.logger.debug("AsyncLiveClient._start LEAVE")
raise
except Exception as e:
Expand All @@ -235,7 +235,7 @@ async def _start(self) -> None:
"message": f"{e}",
"variant": "",
}
self._emit(LiveTranscriptionEvents.Error, error)
await self._emit(LiveTranscriptionEvents.Error, error)
self.logger.error("Exception in _start: %s", error=error)
self.logger.debug("AsyncLiveClient._start LEAVE")
raise
Expand Down