File tree Expand file tree Collapse file tree 5 files changed +9
-11
lines changed Expand file tree Collapse file tree 5 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ gem 'puma'
1515gem 'sinatra' , '~> 2.0.3'
1616gem 'rake' , '~> 12.3.3'
1717
18- gem 'sentry-raven '
18+ gem 'sentry-ruby '
1919
2020gem 'activesupport' , '~> 4.1.11'
2121
Original file line number Diff line number Diff line change 3131 connection_pool (2.2.1 )
3232 diff-lcs (1.5.0 )
3333 docile (1.4.0 )
34- faraday (0.15.0 )
35- multipart-post (>= 1.2 , < 3 )
3634 foreman (0.41.0 )
3735 thor (>= 0.13.6 )
3836 hashr (2.0.1 )
4846 metriks-librato_metrics (1.0.6 )
4947 metriks (>= 0.9.9.6 )
5048 minitest (5.11.3 )
51- multipart-post (2.0.0 )
5249 mustermann (1.0.3 )
5350 nio4r (2.5.8 )
5451 parallel (1.23.0 )
105102 rubocop-rspec (2.10.0 )
106103 rubocop (~> 1.19 )
107104 ruby-progressbar (1.13.0 )
108- sentry-raven ( 2.7.3 )
109- faraday ( >= 0.7.6 , < 1.0 )
105+ sentry-ruby ( 5.10.0 )
106+ concurrent-ruby ( ~> 1.0 , >= 1.0.2 )
110107 sidekiq (4.0.2 )
111108 concurrent-ruby (~> 1.0 )
112109 connection_pool (~> 2.2 , >= 2.2.0 )
@@ -158,7 +155,7 @@ DEPENDENCIES
158155 rubocop-performance
159156 rubocop-rake
160157 rubocop-rspec
161- sentry-raven
158+ sentry-ruby
162159 sidekiq (~> 4.0.0 )
163160 simplecov
164161 simplecov-console
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ require 'travis/listener'
66
77Travis ::Listener . setup
88
9- use Raven ::Rack if Travis . config . sentry . dsn
9+ use Sentry ::Rack :: CaptureExceptions if Travis . config . sentry . dsn
1010run Travis ::Listener ::App
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ class Config < Travis::Config
2929 class << self
3030 def setup
3131 if Travis . config . sentry . dsn
32- require 'raven'
33- ::Raven . configure do |config |
32+ require 'sentry-ruby'
33+
34+ ::Sentry . init do |config |
3435 config . dsn = Travis . config . sentry . dsn
3536 config . excluded_exceptions = %w[ Sinatra::NotFound ]
3637 end
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def event_details
213213 rescue StandardError => e
214214 error ( "Error logging payload: #{ e . message } " )
215215 error ( "Payload causing error: #{ decoded_payload } " )
216- Raven . capture_exception ( e )
216+ Sentry . capture_exception ( e )
217217 { }
218218 end
219219
You can’t perform that action at this time.
0 commit comments