Log exception

This commit is contained in:
Ruben van de Ven 2019-05-11 18:15:13 +02:00
parent 0aafc3209f
commit 99f819ad02
1 changed files with 1 additions and 0 deletions

View File

@ -1424,6 +1424,7 @@ class Story(object):
except Exception as e:
self.hugvey.eventLogger.critical(f"error: crash when reading wave file: {fn}")
self.logger.critical(f"error: crash when reading wave file: {fn}")
self.logger.exception(e)
duration = 10 # some default duration to have something to fall back to
# self.hugvey.google.pause() # pause STT to avoid text events while decision is made