daily: log transcription errors
This commit is contained in:
@@ -268,11 +268,11 @@ class DailyTransportService(BaseTransportService, EventHandler):
|
|||||||
frame = TranscriptionQueueFrame(message["text"], participantId, message["timestamp"])
|
frame = TranscriptionQueueFrame(message["text"], participantId, message["timestamp"])
|
||||||
asyncio.run_coroutine_threadsafe(self.receive_queue.put(frame), self._loop)
|
asyncio.run_coroutine_threadsafe(self.receive_queue.put(frame), self._loop)
|
||||||
|
|
||||||
def on_transcription_stopped(self, stopped_by, stopped_by_error):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def on_transcription_error(self, message):
|
def on_transcription_error(self, message):
|
||||||
pass
|
self._logger.error(f"Transcription error: {message}")
|
||||||
|
|
||||||
def on_transcription_started(self, status):
|
def on_transcription_started(self, status):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
def on_transcription_stopped(self, stopped_by, stopped_by_error):
|
||||||
|
pass
|
||||||
|
|||||||
Reference in New Issue
Block a user