fix log lines

This commit is contained in:
sfaulds
2017-07-05 07:54:14 +10:00
parent bd3327fb00
commit 0d8c20187d
2 changed files with 4 additions and 2 deletions

View File

@@ -14,7 +14,8 @@ except Exception as error:
ga = GoogleAnalytics()
err_strings = ga.formatException()
ga.sendEventData("Exception", err_strings[0], err_strings[1])
log.error(error)
log.error(str(error))
log.error(str(err_strings))
raise
# clear done and exit.