Add debug logging for stop word detection (#257)
This commit is contained in:
1 parent
0130d2241f
commit
ede3785539
1 file changed
+1
@@ -481,6 +481,7 @@ def process_audio(state: ServerState, mic, block_size: int):
|
||||
stopped = True
|
||||
|
||||
if stopped and (state.stop_word.id in state.active_wake_words) and not state.muted:
|
||||
_LOGGER.debug("Stop word detected")
|
||||
state.satellite.stop()
|
||||
except Exception:
|
||||
_LOGGER.exception("Unexpected error handling audio")
|
||||
|
||||
Reference in new issue
Block a user