mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-09-19 02:04:31 -04:00
fix(logging): stop reporting expected conditions as crashes (#6470)
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2d63db8dd4
commit
5235b8fc51
16 files changed
+598
-37
No files matched your search
+5
-1
@@ -620,7 +620,11 @@ class MeshConnectionManagerImpl(
|
||||
if (serviceRepository.connectionState.value !is ConnectionState.Connecting) {
|
||||
return@handledLaunch
|
||||
}
|
||||
Logger.e {
|
||||
// Warn, not error: the watchdog firing is the recovery mechanism working, and the cause is a
|
||||
// stalled radio or link rather than a defect here. A throwable-less Logger.e still synthesises a
|
||||
// non-fatal in Crashlytics and a RUM error, which made this one of the loudest issues in triage.
|
||||
// Track it as a rate over this log line instead.
|
||||
Logger.w {
|
||||
"Fast-handshake watchdog expired after progress stalled — requesting forced transport restart"
|
||||
}
|
||||
runSiblingHandshakeRecovery()
|
||||
|
||||
Reference in new issue
Block a user