diff --git a/SpotifyLyricsInMenubar/viewModel.swift b/SpotifyLyricsInMenubar/viewModel.swift index 20fa23b..eb9f909 100644 --- a/SpotifyLyricsInMenubar/viewModel.swift +++ b/SpotifyLyricsInMenubar/viewModel.swift @@ -392,7 +392,7 @@ import NaturalLanguage let urlResponseAndData = try await fakeSpotifyUserAgentSession.data(for: request) if urlResponseAndData.0.isEmpty { print("F") - return try await fetchLRCLIBNetworkLyrics( trackName: trackName, spotifyOrAppleMusic: spotifyOrAppleMusic, trackID: trackID) + return (try? await fetchLRCLIBNetworkLyrics( trackName: trackName, spotifyOrAppleMusic: spotifyOrAppleMusic, trackID: trackID)) ?? [] // return [] } print(String(decoding: urlResponseAndData.0, as: UTF8.self))