mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-24 17:28:08 +00:00
Fix crash in crash report
This commit is contained in:
parent
250bb38d7c
commit
9153b42b9d
@ -34,6 +34,9 @@ class CrashReport:
|
|||||||
DSN = "aiohttp+https://50af75d8641d4ea7a4ea6b38c7df6cf9:41d54936f8f14e558066262e2ec8bbeb@app.getsentry.com/38482"
|
DSN = "aiohttp+https://50af75d8641d4ea7a4ea6b38c7df6cf9:41d54936f8f14e558066262e2ec8bbeb@app.getsentry.com/38482"
|
||||||
_instance = None
|
_instance = None
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self._client = None
|
||||||
|
|
||||||
def capture_exception(self, request):
|
def capture_exception(self, request):
|
||||||
server_config = Config.instance().get_section_config("Server")
|
server_config = Config.instance().get_section_config("Server")
|
||||||
if server_config.getboolean("report_errors"):
|
if server_config.getboolean("report_errors"):
|
||||||
|
Loading…
Reference in New Issue
Block a user