Browse Source

More logging

Jon Mårtensson 2 years ago
parent
commit
ba336fdb83
1 changed files with 1 additions and 1 deletions
  1. 1 1
      FreeAPS/Sources/Services/Network/NightscoutManager.swift

+ 1 - 1
FreeAPS/Sources/Services/Network/NightscoutManager.swift

@@ -603,7 +603,7 @@ final class BaseNightscoutManager: NightscoutManager, Injectable {
                         self.storage.save(glucose, as: fileToSave)
                         debug(.nightscout, "Glucose uploaded")
                     case let .failure(error):
-                        debug(.nightscout, error.localizedDescription)
+                        debug(.nightscout, "Upload of glucose failed: " + error.localizedDescription)
                     }
                 } receiveValue: {}
                 .store(in: &self.lifetime)