diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2020-02-24 17:27:17 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2020-02-24 17:27:17 +0300 |
commit | 62dfadecdface687841930de70f12d151961f47e (patch) | |
tree | 0c93d07754ce8dd788f62c4d3f9aff422c3d1ffa /cura_app.py | |
parent | e52dc56a64186812d48ca4b7d7e318ff24401142 (diff) |
Prune all sensitive data before sending it to Sentry
CURA-7245
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cura_app.py b/cura_app.py index a8fe708c5f..fba136516c 100755 --- a/cura_app.py +++ b/cura_app.py @@ -11,6 +11,7 @@ import sys from UM.Platform import Platform from cura import ApplicationMetadata from cura.ApplicationMetadata import CuraAppName +from cura.CrashHandler import CrashHandler try: import sentry_sdk @@ -42,8 +43,9 @@ if with_sentry_sdk: sentry_env = "nightly" except IndexError: pass - + sentry_sdk.init("https://5034bf0054fb4b889f82896326e79b13@sentry.io/1821564", + before_send = CrashHandler.sentry_before_send, environment = sentry_env, release = "cura%s" % ApplicationMetadata.CuraVersion, default_integrations = False, |