mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 16:09:01 +08:00
Add extra tag if crash was during startup or not
This commit is contained in:
parent
466c90ca6c
commit
028a60318c
@ -65,6 +65,9 @@ class CrashHandler:
|
||||
if has_started and exception_type in skip_exception_types:
|
||||
return
|
||||
|
||||
with configure_scope() as scope:
|
||||
scope.set_tag("during_startup", not has_started)
|
||||
|
||||
if not has_started:
|
||||
self._send_report_checkbox = None
|
||||
self.early_crash_dialog = self._createEarlyCrashDialog()
|
||||
|
@ -23,7 +23,10 @@ parser.add_argument("--debug",
|
||||
)
|
||||
|
||||
known_args = vars(parser.parse_known_args()[0])
|
||||
sentry_sdk.init("https://5034bf0054fb4b889f82896326e79b13@sentry.io/1821564", release = "cura%s" % ApplicationMetadata.CuraVersion, default_integrations=False )
|
||||
sentry_sdk.init("https://5034bf0054fb4b889f82896326e79b13@sentry.io/1821564",
|
||||
release = "cura%s" % ApplicationMetadata.CuraVersion,
|
||||
default_integrations = False,
|
||||
max_breadcrumbs = 200)
|
||||
|
||||
if not known_args["debug"]:
|
||||
def get_cura_dir_path():
|
||||
|
Loading…
x
Reference in New Issue
Block a user