mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-30 22:31:21 -07:00
Merge branch 'master' of github.com:Ultimaker/Cura
This commit is contained in:
commit
95bb3f603d
1 changed files with 11 additions and 8 deletions
|
|
@ -63,6 +63,7 @@ if with_sentry_sdk:
|
|||
|
||||
# Errors to be ignored by Sentry
|
||||
ignore_errors = [KeyboardInterrupt, MemoryError]
|
||||
try:
|
||||
sentry_sdk.init("https://5034bf0054fb4b889f82896326e79b13@sentry.io/1821564",
|
||||
before_send = CrashHandler.sentryBeforeSend,
|
||||
environment = sentry_env,
|
||||
|
|
@ -71,6 +72,8 @@ if with_sentry_sdk:
|
|||
max_breadcrumbs = 300,
|
||||
server_name = "cura",
|
||||
ignore_errors = ignore_errors)
|
||||
except Exception:
|
||||
with_sentry_sdk = False
|
||||
|
||||
if not known_args["debug"]:
|
||||
def get_cura_dir_path():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue