chore: Upgrade Exception tracking (#4638)

- Upgrade Sentry Libraries
- Enable provision for account and user info in error tracking
- Add ChatwootExceptionTracker

fixes: #4375
This commit is contained in:
Sojan Jose 2022-05-09 14:23:19 +05:30 committed by GitHub
parent 360b438a55
commit 04dfb034cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 173 additions and 108 deletions

View file

@ -11,6 +11,6 @@ class Webhooks::Trigger
Rails.logger.error "Exception: invalid webhook url #{url} : #{e.message}"
rescue StandardError => e
Rails.logger.error "Exception: invalid webhook url #{url} : #{e.message}"
Sentry.capture_exception(e)
ChatwootExceptionTracker.new(e).capture_exception
end
end