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'
15
15
gem 'sinatra' , '~> 2.0.3'
16
16
gem 'rake' , '~> 12.3.3'
17
17
18
- gem 'sentry-raven '
18
+ gem 'sentry-ruby '
19
19
20
20
gem 'activesupport' , '~> 4.1.11'
21
21
Original file line number Diff line number Diff line change 31
31
connection_pool (2.2.1 )
32
32
diff-lcs (1.5.0 )
33
33
docile (1.4.0 )
34
- faraday (0.15.0 )
35
- multipart-post (>= 1.2 , < 3 )
36
34
foreman (0.41.0 )
37
35
thor (>= 0.13.6 )
38
36
hashr (2.0.1 )
48
46
metriks-librato_metrics (1.0.6 )
49
47
metriks (>= 0.9.9.6 )
50
48
minitest (5.11.3 )
51
- multipart-post (2.0.0 )
52
49
mustermann (1.0.3 )
53
50
nio4r (2.5.8 )
54
51
parallel (1.23.0 )
105
102
rubocop-rspec (2.10.0 )
106
103
rubocop (~> 1.19 )
107
104
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 )
110
107
sidekiq (4.0.2 )
111
108
concurrent-ruby (~> 1.0 )
112
109
connection_pool (~> 2.2 , >= 2.2.0 )
@@ -158,7 +155,7 @@ DEPENDENCIES
158
155
rubocop-performance
159
156
rubocop-rake
160
157
rubocop-rspec
161
- sentry-raven
158
+ sentry-ruby
162
159
sidekiq (~> 4.0.0 )
163
160
simplecov
164
161
simplecov-console
Original file line number Diff line number Diff line change @@ -6,5 +6,5 @@ require 'travis/listener'
6
6
7
7
Travis ::Listener . setup
8
8
9
- use Raven ::Rack if Travis . config . sentry . dsn
9
+ use Sentry ::Rack :: CaptureExceptions if Travis . config . sentry . dsn
10
10
run Travis ::Listener ::App
Original file line number Diff line number Diff line change @@ -29,8 +29,9 @@ class Config < Travis::Config
29
29
class << self
30
30
def setup
31
31
if Travis . config . sentry . dsn
32
- require 'raven'
33
- ::Raven . configure do |config |
32
+ require 'sentry-ruby'
33
+
34
+ ::Sentry . init do |config |
34
35
config . dsn = Travis . config . sentry . dsn
35
36
config . excluded_exceptions = %w[ Sinatra::NotFound ]
36
37
end
Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ def event_details
213
213
rescue StandardError => e
214
214
error ( "Error logging payload: #{ e . message } " )
215
215
error ( "Payload causing error: #{ decoded_payload } " )
216
- Raven . capture_exception ( e )
216
+ Sentry . capture_exception ( e )
217
217
{ }
218
218
end
219
219
You can’t perform that action at this time.
0 commit comments