chore: Return medium in inbox APIs (#3025)

Return medium in inbox APIs
This commit is contained in:
Sojan Jose
2021-09-16 16:51:06 +05:30
committed by GitHub
parent a0ffefad71
commit 0c3e8b6dbd
3 changed files with 6 additions and 1 deletions

View File

@@ -167,7 +167,7 @@ class Messages::Facebook::MessageBuilder
result = {}
# OAuthException, code: 100, error_subcode: 2018218, message: (#100) No profile available for this user
# We don't need to capture this error as we don't care about contact params in case of echo messages
Sentry.capture_exception(e) unless outgoing_echo?
Sentry.capture_exception(e) unless @outgoing_echo
rescue StandardError => e
result = {}
Sentry.capture_exception(e)