From 9c0e6f9338b05beb6556b6b2ad41bab449775fbf Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Mon, 24 Feb 2020 16:57:37 +0100 Subject: [PATCH] Apply suggestions from code review Codestyle! --- cura/CrashHandler.py | 2 +- cura_app.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cura/CrashHandler.py b/cura/CrashHandler.py index 4ac2e190ff..6acd15bbf8 100644 --- a/cura/CrashHandler.py +++ b/cura/CrashHandler.py @@ -97,7 +97,7 @@ class CrashHandler: return obj @staticmethod - def sentry_before_send(event, hint): + def sentryBeforeSend(event, hint): return CrashHandler.pruneSensitiveData(event) def _createEarlyCrashDialog(self): diff --git a/cura_app.py b/cura_app.py index fba136516c..422313131b 100755 --- a/cura_app.py +++ b/cura_app.py @@ -45,7 +45,7 @@ if with_sentry_sdk: pass sentry_sdk.init("https://5034bf0054fb4b889f82896326e79b13@sentry.io/1821564", - before_send = CrashHandler.sentry_before_send, + before_send = CrashHandler.sentryBeforeSend, environment = sentry_env, release = "cura%s" % ApplicationMetadata.CuraVersion, default_integrations = False,