From 9153b42b9d58b037af3f9e065045eba0f705e336 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Tue, 24 Feb 2015 20:22:10 +0100 Subject: [PATCH] Fix crash in crash report --- gns3server/crash_report.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gns3server/crash_report.py b/gns3server/crash_report.py index c8afca1b..06d11803 100644 --- a/gns3server/crash_report.py +++ b/gns3server/crash_report.py @@ -34,6 +34,9 @@ class CrashReport: DSN = "aiohttp+https://50af75d8641d4ea7a4ea6b38c7df6cf9:41d54936f8f14e558066262e2ec8bbeb@app.getsentry.com/38482" _instance = None + def __init__(self): + self._client = None + def capture_exception(self, request): server_config = Config.instance().get_section_config("Server") if server_config.getboolean("report_errors"):