Skip to content

Commit

Permalink
Add log to troubleshoot test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed May 10, 2024
1 parent 2db0647 commit 0a9a67d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ def handle_fallback(self, message: Message):
# Determine what kind of question this is to reply appropriately
for i in ['question', 'who.is', 'why.is']:
for line in self._read_voc_lines(i):
LOG.info(f"Checking for pattern: {line}.*")
if utterance.startswith(line):
LOG.info(f'Fallback type: {i} ({utterance}')
self.speak_dialog(i,
Expand Down

0 comments on commit 0a9a67d

Please sign in to comment.