diff --git a/Sources/App/TokenStorage.swift b/Sources/App/TokenStorage.swift index ae81ab7..75aa2f3 100644 --- a/Sources/App/TokenStorage.swift +++ b/Sources/App/TokenStorage.swift @@ -18,11 +18,13 @@ struct TokenStorage { private mutating func loadTokensFromDisk() { guard FileManager.default.fileExists(atPath: fileUrl.path) else { + log(info: "No tokens loaded") return } do { let data = try Data(contentsOf: fileUrl) tokens = try BinaryDecoder().decode(from: data) + log(info: "\(tokens.count) tokens loaded") } catch { log(error: "Failed to read token file: \(error)") }