add error handling to client
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user