Vishnu Narayanan
2022-03-28 18:14:30 +05:30
committed by GitHub
parent 823c0ab6a7
commit 8155024b6a
19 changed files with 25 additions and 25 deletions

View File

@@ -45,7 +45,7 @@ class Channel::FacebookPage < ApplicationRecord
source_id: instagram_id
)
rescue StandardError => e
Rails.logger.info e
Rails.logger.error e
end
end

View File

@@ -40,7 +40,7 @@ class Channel::TwitterProfile < ApplicationRecord
source_id: profile_id
)
rescue StandardError => e
Rails.logger.info e
Rails.logger.error e
end
end
@@ -62,6 +62,6 @@ class Channel::TwitterProfile < ApplicationRecord
unsubscribe_response = twitter_client.remove_subscription(user_id: profile_id)
Rails.logger.info "TWITTER_UNSUBSCRIBE: #{unsubscribe_response.body}"
rescue StandardError => e
Rails.logger.info e
Rails.logger.error e
end
end

View File

@@ -86,7 +86,7 @@ class Channel::WebWidget < ApplicationRecord
)
contact_inbox
rescue StandardError => e
Rails.logger.info e
Rails.logger.error e
end
end
end