Skip to content

Commit 4be8234

Browse files
committed
Change print to logger
1 parent 6c4ceda commit 4be8234

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SupportCompanion/Views/Cards/AppCard.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ struct PlistService {
125125
// Ensure the file exists at the given path
126126
guard FileManager.default.fileExists(atPath: path),
127127
let plistData = FileManager.default.contents(atPath: path) else {
128-
print("Error: Could not read plist at path: \(path)")
128+
Logger.shared.logError("Could not read plist at path: \(path)")
129129
return nil
130130
}
131131

@@ -135,7 +135,7 @@ struct PlistService {
135135
return plist[key]
136136
}
137137
} catch {
138-
print("Error: Failed to parse plist. \(error.localizedDescription)")
138+
Logger.shared.logError("Error: Failed to parse plist. \(error.localizedDescription)")
139139
}
140140

141141
return nil

0 commit comments

Comments
 (0)