Skip to content

Commit

Permalink
no metrics
Browse files Browse the repository at this point in the history
reduce log spam
  • Loading branch information
JarbasAl authored Jun 2, 2024
1 parent 1d50fd6 commit 796886f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions __init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ def runtime_requirements(self):
@fallback_handler(priority=100)
def handle_fallback(self, message):
utterance = message.data['utterance'].lower()

try:
self.report_metric('failed-intent', {'utterance': utterance})
except Exception:
self.log.exception('Error reporting metric')

for i in ['question', 'who.is', 'why.is']:
if self.voc_match(utterance, i):
self.log.debug('Fallback type: ' + i)
Expand Down

0 comments on commit 796886f

Please sign in to comment.