mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-18 04:07:57 -06:00
Add extra tag if crash was during startup or not
This commit is contained in:
parent
466c90ca6c
commit
028a60318c
2 changed files with 7 additions and 1 deletions
|
@ -65,6 +65,9 @@ class CrashHandler:
|
||||||
if has_started and exception_type in skip_exception_types:
|
if has_started and exception_type in skip_exception_types:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
with configure_scope() as scope:
|
||||||
|
scope.set_tag("during_startup", not has_started)
|
||||||
|
|
||||||
if not has_started:
|
if not has_started:
|
||||||
self._send_report_checkbox = None
|
self._send_report_checkbox = None
|
||||||
self.early_crash_dialog = self._createEarlyCrashDialog()
|
self.early_crash_dialog = self._createEarlyCrashDialog()
|
||||||
|
|
|
@ -23,7 +23,10 @@ parser.add_argument("--debug",
|
||||||
)
|
)
|
||||||
|
|
||||||
known_args = vars(parser.parse_known_args()[0])
|
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"]:
|
if not known_args["debug"]:
|
||||||
def get_cura_dir_path():
|
def get_cura_dir_path():
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue