Medtrum: Add log line
This commit is contained in:
parent
e026b59208
commit
68d45aae4f
|
@ -567,6 +567,7 @@ class MedtrumService : DaggerService(), BLECommCallback {
|
|||
if (!result && packet.failed) {
|
||||
// Record may be broken for unkown reasons, try the next packet if that fails abort
|
||||
failureCount++
|
||||
aapsLogger.error(LTag.PUMPCOMM, "Failed to sync record $sequence, failureCount: $failureCount")
|
||||
if (failureCount == 1) {
|
||||
// Show notification to alert user of failure
|
||||
uiInteraction.addNotificationWithSound(
|
||||
|
|
Loading…
Reference in a new issue