Medtrum: Add log line

This commit is contained in:
jbr7rr 2023-10-29 06:57:43 +01:00
parent e026b59208
commit 68d45aae4f

View file

@ -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(