Log exception
This commit is contained in:
parent
0aafc3209f
commit
99f819ad02
1 changed files with 1 additions and 0 deletions
|
@ -1424,6 +1424,7 @@ class Story(object):
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.hugvey.eventLogger.critical(f"error: crash when reading wave file: {fn}")
|
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.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
|
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
|
# self.hugvey.google.pause() # pause STT to avoid text events while decision is made
|
||||||
|
|
Loading…
Reference in a new issue