diff --git a/CCMenu/Source/Miscellaneous/Keychain.swift b/CCMenu/Source/Miscellaneous/Keychain.swift index a17981d..2ba5516 100644 --- a/CCMenu/Source/Miscellaneous/Keychain.swift +++ b/CCMenu/Source/Miscellaneous/Keychain.swift @@ -60,7 +60,7 @@ class Keychain { func getToken(forService service: String) throws -> String? { if service == "GitHub", let token = UserDefaults.active.string(forKey: "GitHubToken") { - return token + return token.isEmpty ? nil : token } let query: [String: Any] = [ kSecClass as String: kSecClassGenericPassword, diff --git a/CCMenu/Source/Server Monitor/CCTrayFeedReader.swift b/CCMenu/Source/Server Monitor/CCTrayFeedReader.swift index ca98682..56a97db 100644 --- a/CCMenu/Source/Server Monitor/CCTrayFeedReader.swift +++ b/CCMenu/Source/Server Monitor/CCTrayFeedReader.swift @@ -39,6 +39,7 @@ class CCTrayFeedReader { do { // All pipelines have the same URL. let request = try requestForFeed(feed: pipelines[0].feed) + debugPrint(Date(), "fetching", request.url ?? "") try await fetchStatus(request: request) } catch { for i in 0..