add error handling to client

This commit is contained in:
2025-06-22 13:53:18 +02:00
parent 47eb738400
commit bd7a5fc44d

View File

@@ -50,6 +50,9 @@ class SpotifyClient
Rails.logger.info("token dead")
LogLoadFailedWorker.perform_async(login.id)
end
else
Rails.logger.error("SpotifyClient: #{e.message}")
raise e
end
end
end