Report previous-run crashes to diagnostics

This commit is contained in:
Brahim Hadriche committed 2026-06-20 18:42:10 -04:00
1 parent d03909f8d6
commit c32431fefc
8 files changed
+144 -11

No files matched your search

@@ -1,6 +1,7 @@
#const SUPPORTS_BATCHING = false
import "pkg:/components/Telemetry/Sentry.bs"
import "pkg:/components/Telemetry/LastExitCrash.bs"
import "pkg:/source/utils/Logging.bs"
import "pkg:/source/utils/Types.bs"
@@ -47,6 +48,8 @@ function TelemetryLoop() as void
m.dist = GetDist(m.tags)
m.userId = GetUserId()
ReportLastExitCrash()
m.top.observeField("LogInfo", msgPort)
m.top.observeField("LogWarn", msgPort)
m.top.observeField("LogError", msgPort)