Explorar el Código

PR feedback: make debugPrint clearer

polscm32 hace 1 año
padre
commit
5dd72878d8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Trio/Sources/APS/APSManager.swift

+ 1 - 1
Trio/Sources/APS/APSManager.swift

@@ -232,7 +232,7 @@ final class BaseAPSManager: APSManager, Injectable {
         // Check if too soon for next loop
         // Check if too soon for next loop
         if lastLoopDate > lastLoopStartDate {
         if lastLoopDate > lastLoopStartDate {
             guard lastLoopStartDate.addingTimeInterval(Config.loopInterval) < Date() else {
             guard lastLoopStartDate.addingTimeInterval(Config.loopInterval) < Date() else {
-                debug(.apsManager, "too close to do a loop : \(lastLoopStartDate)")
+                debug(.apsManager, "Not enough time have passed since last loop at : \(lastLoopStartDate)")
                 return false
                 return false
             }
             }
         }
         }