fix autobug

This commit is contained in:
Kevin Hester
2021-06-11 09:48:20 -07:00
parent 5b069f93bc
commit e186abce79

View File

@@ -1357,7 +1357,7 @@ class MeshService : Service(), Logging {
DataPair("dev_error_count", myInfo.errorCount)
)
if (myInfo.errorCode.number != 0) {
if (myInfo.errorCode != MeshProtos.CriticalErrorCode.Unspecified && myInfo.errorCode != MeshProtos.CriticalErrorCode.None) {
GeeksvilleApplication.analytics.track(
"dev_error",
DataPair("code", myInfo.errorCode.number),