debugging added
This commit is contained in:
@@ -8,6 +8,9 @@ class CreateSpotifyActivity
|
||||
|
||||
# rubocop:disable Metrics/AbcSize
|
||||
def perform
|
||||
# log some info about the response with status and parts of the body
|
||||
Rails.logger.info("Response status: #{response["status"]}")
|
||||
Rails.logger.info("Response body: #{response["body"]}")
|
||||
counts = response["items"].size
|
||||
Rails.logger.info("Saving #{counts} activities")
|
||||
response["items"].reverse.each do |play|
|
||||
|
||||
Reference in New Issue
Block a user