diff options
author | Kostas Karmas <k.karmas@ultimaker.com> | 2020-03-09 17:06:55 +0300 |
---|---|---|
committer | Kostas Karmas <k.karmas@ultimaker.com> | 2020-03-09 17:06:55 +0300 |
commit | 7d33830ae75062995a36286ef5ac1f4e518eecfc (patch) | |
tree | ec27cd3fd024a5a78b4887e19a52c34be966b59f /cura_app.py | |
parent | d041131f84ead913734edb3bb83b88175ebdcd67 (diff) |
Filter out KeyboardInterrupts and MemoryErrors
Diffstat (limited to 'cura_app.py')
-rwxr-xr-x | cura_app.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cura_app.py b/cura_app.py index 629091a156..572b02b77c 100755 --- a/cura_app.py +++ b/cura_app.py @@ -59,13 +59,16 @@ if with_sentry_sdk: except IndexError: pass + # Errors to be ignored by Sentry + ignore_errors = [KeyboardInterrupt, MemoryError] sentry_sdk.init("https://5034bf0054fb4b889f82896326e79b13@sentry.io/1821564", before_send = CrashHandler.sentryBeforeSend, environment = sentry_env, release = "cura%s" % ApplicationMetadata.CuraVersion, default_integrations = False, max_breadcrumbs = 300, - server_name = "cura") + server_name = "cura", + ignore_errors = ignore_errors) if not known_args["debug"]: def get_cura_dir_path(): |