mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-16 18:59:39 +08:00
Apply suggestions from code review
Codestyle!
This commit is contained in:
parent
94e9753b6c
commit
9c0e6f9338
@ -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):
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user