Skip to content

Commit 9104587

Browse files
authored
Merge pull request #153 from truvami/feature/Improve_Traxmate_invalid_response_logging
Log invalid Traxmate responses
2 parents 4474ab3 + cb46955 commit 9104587

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/solver/loracloud/loracloud.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@ func (m LoracloudClient) DeliverUplinkMessage(devEui string, uplinkMsg UplinkMsg
330330
loracloudPositionEstimateValidCounter.WithLabelValues(metricDevEui).Inc()
331331
} else {
332332
loracloudPositionEstimateInvalidCounter.WithLabelValues(metricDevEui).Inc()
333+
m.logger.Error("position resolution is invalid", zap.Any("uplinkResponse", uplinkResponse))
333334
return nil, ErrPositionResolutionIsEmpty
334335
}
335336
}

0 commit comments

Comments
 (0)