fix: Undefined local variable or method error for an instance of Instagram MessageText (#11421)

Fixes https://chatwoot-p3.sentry.io/issues/6557025930?project=6382945
This commit is contained in:
Muhsin Keloth
2025-05-06 15:49:43 +05:30
committed by GitHub
parent 945fa5fd16
commit 164f4ec90e

View File

@@ -44,7 +44,7 @@ class Instagram::MessageText < Instagram::BaseMessageText
Rails.logger.warn("[InstagramUserFetchError]: account_id #{@inbox.account_id} inbox_id #{@inbox.id}")
Rails.logger.warn("[InstagramUserFetchError]: #{error_message} #{error_code}")
ChatwootExceptionTracker.new(error, account: @inbox.account).capture_exception
ChatwootExceptionTracker.new(parsed_response, account: @inbox.account).capture_exception
end
def base_uri