We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1881f35 + fa2596f commit bceae4bCopy full SHA for bceae4b
1 file changed
LoopFollow/Controllers/Nightscout/BGData.swift
@@ -24,8 +24,8 @@ extension MainViewController {
24
return
25
}
26
27
- guard let data = result else {
28
- LogManager.shared.log(category: .dexcom, message: "Received nil data from Dexcom", limitIdentifier: "Received nil data from Dexcom")
+ guard let data = result, !data.isEmpty else {
+ LogManager.shared.log(category: .dexcom, message: "Received empty data array from Dexcom", limitIdentifier: "Received empty data array from Dexcom")
29
self.webLoadNSBGData()
30
31
0 commit comments