Skip to content

Commit 22213d3

Browse files
Merge pull request #10 from datacite/update-gem-lock-file
remove all sentry raven references
2 parents 5aea33c + e65527c commit 22213d3

File tree

3 files changed

+2
-16
lines changed

3 files changed

+2
-16
lines changed

Gemfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ gem "logstash-event", "~> 1.2", ">= 1.2.02"
1515
gem "logstash-logger", "~> 0.26.1"
1616
gem "mysql2", "~> 0.5.3"
1717
gem "dotenv"
18-
# gem "sentry-raven", "~> 3.1", ">= 3.1.2"
1918
gem "sentry-ruby"
2019
gem "sentry-rails"
2120
gem "elasticsearch", "~> 7.17", ">= 7.17.10"

config/application.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
env_vars.each { |k, v| ENV[k] = v }
2020
end
2121

22+
ENV["GITHUB_URL"] ||= "https://github.com/datacite/events"
23+
2224
module Events
2325
class Application < Rails::Application
2426
config.load_defaults(7.1)

config/initializers/_shoryuken.rb

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,4 @@
88
})
99
end
1010

11-
# Shoryuken middleware to capture worker errors and send them on to Sentry.io
12-
# module Shoryuken
13-
# module Middleware
14-
# module Server
15-
# class RavenReporter
16-
# def call(_worker_instance, queue, _sqs_msg, body, &block)
17-
# tags = { job: body["job_class"], queue: queue }
18-
# context = { message: body }
19-
# Raven.capture(tags: tags, extra: context, &block)
20-
# end
21-
# end
22-
# end
23-
# end
24-
# end
25-
2611
Shoryuken.active_job_queue_name_prefixing = true

0 commit comments

Comments
 (0)