Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade sentry #2232

Merged
merged 2 commits into from
May 9, 2023
Merged

Upgrade sentry #2232

merged 2 commits into from
May 9, 2023

Conversation

julianguyen
Copy link
Member

@julianguyen julianguyen commented May 9, 2023

Description

With the recent upgrade to Ruby 3 and Rails 7, we need to replace sentry-raven with sentry-ruby in our Heroku deployment build. This guide outlines it all!

We use Sentry for our observability in production 💃

This is the error message:

remote:        Post-install message from sentry-raven:        
remote:        `sentry-raven` is deprecated! Please migrate to `sentry-ruby`        
remote:                
remote:        See https://docs.sentry.io/platforms/ruby/migration for the migration guide.        
remote:                
remote:        Bundle completed (86.17s)        
remote:        Cleaning up the bundler cache.        
remote:        Resolving dependencies....        
remote:        Removing bundler (2.3.25)        
remote: -----> Detecting rake tasks        
remote: -----> Preparing app for Rails asset pipeline        
remote:        Running: rake assets:precompile        
remote:        I, [2023-05-09T04:46:03.247291 #2731]  INFO -- sentry: ** [Raven] Raven 3.1.2 ready to catch errors        
remote:        Sending event cdf8aa242f8d46609764e40a49a38f83 to Sentry        
remote:        rake aborted!  

Reviewing this pull request? Check out our Code Review Practices guide if you haven't already!

@julianguyen julianguyen merged commit 81f4a86 into main May 9, 2023
@delete-merged-branch delete-merged-branch bot deleted the upgrade-sentry branch May 9, 2023 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant