Skip to content

Commit

Permalink
Merge pull request #68 from daily-co/log-transcription-errors
Browse files Browse the repository at this point in the history
daily: log transcription errors
  • Loading branch information
aconchillo authored Mar 18, 2024
2 parents 3957813 + 549862e commit 141a5bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/dailyai/services/daily_transport_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ def on_transcription_message(self, message: dict):
frame = TranscriptionQueueFrame(message["text"], participantId, message["timestamp"])
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):
pass
self._logger.error(f"Transcription error: {message}")

def on_transcription_started(self, status):
pass

def on_transcription_stopped(self, stopped_by, stopped_by_error):
pass

0 comments on commit 141a5bb

Please sign in to comment.