Add extra tag if crash was during startup or not

This commit is contained in:
Jaime van Kessel 2019-11-22 15:43:45 +01:00
parent 466c90ca6c
commit 028a60318c
No known key found for this signature in database
GPG key ID: 3710727397403C91
2 changed files with 7 additions and 1 deletions

View file

@ -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()