mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
don't spam crashreport server if the device sent a corrupted protobuf
This commit is contained in:
parent
2520a5e69d
commit
41bd082296
1 changed files with 2 additions and 2 deletions
|
|
@ -1180,7 +1180,7 @@ class MeshService : Service(), Logging {
|
|||
else -> errormsg("Unexpected FromRadio variant")
|
||||
}
|
||||
} catch (ex: InvalidProtocolBufferException) {
|
||||
Exceptions.report(ex, "Invalid Protobuf from radio, len=${bytes.size}")
|
||||
errormsg("Invalid Protobuf from radio, len=${bytes.size}", ex)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -1285,7 +1285,7 @@ class MeshService : Service(), Logging {
|
|||
if (configCompleteId == configNonce) {
|
||||
// This was our config request
|
||||
if (newMyNodeInfo == null || newNodes.isEmpty())
|
||||
reportError("Did not receive a valid config")
|
||||
errormsg("Did not receive a valid config")
|
||||
else {
|
||||
debug("Installing new node DB")
|
||||
discardNodeDB()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue