mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-06-12 20:38:23 +00:00
Replace Raven by Sentry SDK. Fixes https://github.com/GNS3/gns3-server/issues/1758
This commit is contained in:
@ -242,7 +242,7 @@ class Route(object):
|
||||
log.error("Uncaught exception detected: {type}".format(type=type(e)), exc_info=1)
|
||||
response = Response(request=request, route=route)
|
||||
response.set_status(500)
|
||||
CrashReport.instance().capture_exception(request)
|
||||
CrashReport.instance().capture_exception()
|
||||
exc_type, exc_value, exc_tb = sys.exc_info()
|
||||
lines = traceback.format_exception(exc_type, exc_value, exc_tb)
|
||||
if api_version is not None:
|
||||
|
Reference in New Issue
Block a user