Browse Source

Apply suggestions from code review

Codestyle!

Jaime van Kessel 5 years ago
parent
commit
9c0e6f9338
2 changed files with 2 additions and 2 deletions
  1. 1 1
      cura/CrashHandler.py
  2. 1 1
      cura_app.py

+ 1 - 1
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):

+ 1 - 1
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,