Merge pull request #1709 from avereha/more-logs

more logs
This commit is contained in:
Milos Kozak 2022-05-08 17:34:51 +02:00 committed by GitHub
commit 6aa94d622a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -879,7 +879,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
val historyEntry = history.getById(activeCommand.historyId)
aapsLogger.debug(
LTag.PUMP,
"pumpSyncTempBasal: absoluteRate=$absoluteRate, durationInMinutes=$durationInMinutes"
"pumpSyncTempBasal: absoluteRate=$absoluteRate, durationInMinutes=$durationInMinutes pumpId=${historyEntry.pumpId()}"
)
val ret = pumpSync.syncTemporaryBasalWithPumpId(
timestamp = historyEntry.createdAt,
@ -1374,7 +1374,7 @@ class OmnipodDashPumpPlugin @Inject constructor(
PumpType.OMNIPOD_DASH,
serialNumber()
)
aapsLogger.info(LTag.PUMP, "syncStopTemporaryBasalWithPumpId ret=$ret")
aapsLogger.info(LTag.PUMP, "syncStopTemporaryBasalWithPumpId ret=$ret pumpId=${historyEntry.pumpId()}")
podStateManager.tempBasal = null
}
rxBus.send(EventDismissNotification(Notification.OMNIPOD_TBR_ALERTS))