From 97006d95c8cfedeead79a5f3d9d1089989a7905d Mon Sep 17 00:00:00 2001 From: bel Date: Sat, 1 Apr 2023 10:41:22 -0600 Subject: [PATCH] stack pls --- rust-whisper.d/hotwords.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rust-whisper.d/hotwords.py b/rust-whisper.d/hotwords.py index be48dba..55f10ba 100644 --- a/rust-whisper.d/hotwords.py +++ b/rust-whisper.d/hotwords.py @@ -73,6 +73,8 @@ class Reader(threading.Thread): self.outq.put(self._run(mic)) except Exception as e: if not "timed out" in str(e): + import traceback + traceback.print_exception(e) time.sleep(5) log("Reader.run: error:", e) self.outq.put(None)