chore: Add better error messages for Facebook unauthorized (#7936)
This commit is contained in:
@@ -44,6 +44,7 @@ class Instagram::MessageText < Instagram::WebhooksBaseService
|
||||
@inbox.channel.authorization_error!
|
||||
ChatwootExceptionTracker.new(e, account: @inbox.account).capture_exception
|
||||
rescue StandardError, Koala::Facebook::ClientError => e
|
||||
Rails.logger.warn("[FacebookUserFetchClientError]: #{e.message}")
|
||||
ChatwootExceptionTracker.new(e, account: @inbox.account).capture_exception
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user