diff --git a/ovos_dinkum_listener/voice_loop/voice_loop.py b/ovos_dinkum_listener/voice_loop/voice_loop.py index 1d34b8b..53bfc78 100644 --- a/ovos_dinkum_listener/voice_loop/voice_loop.py +++ b/ovos_dinkum_listener/voice_loop/voice_loop.py @@ -713,7 +713,8 @@ def _get_tx(self, stt_context: dict) -> (str, dict): # get text and trigger callback try: utts = self.stt.transcribe(lang=lang) or [] - except: + except Exception as e: + LOG.exception(f"Primary STT transcription failed: {str(e)}") LOG.exception("STT failed") utts = [] @@ -721,7 +722,8 @@ def _get_tx(self, stt_context: dict) -> (str, dict): LOG.info("Attempting fallback STT plugin") try: utts = self.fallback_stt.transcribe(lang=lang) or [] - except: + except Exception as e: + LOG.exception(f"Fallback STT transcription failed: {str(e)}") LOG.exception("Fallback STT failed") if not utts: