Send criticals errors to Sentry

Fixes #77
This commit is contained in:
Julien Duponchelle committed 2015-03-02 09:05:32 +01:00
1 parent 46b0ead329
commit 16f6fe9d3b
2 files changed
+8 -7

No files matched your search

+1 -1
View File
@@ -178,7 +178,7 @@ def main():
server.run()
except Exception as e:
log.critical("Critical error while running the server: {}".format(e), exc_info=1)
# TODO: send exception to Sentry
CrashReport.instance().capture_exception()
return
if __name__ == '__main__':