mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 15:14:47 +02:00
Remove airbrake
gem monkey patches
This commit is contained in:
parent
7dbd07fdcc
commit
674f4d8a20
1 changed files with 0 additions and 14 deletions
|
@ -1,17 +1,3 @@
|
||||||
module Patches
|
|
||||||
module Airbrake
|
|
||||||
module SyncSender
|
|
||||||
def build_https(uri)
|
|
||||||
super.tap do |req|
|
|
||||||
req.verify_mode = OpenSSL::SSL::VERIFY_NONE
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
Airbrake::SyncSender.prepend(::Patches::Airbrake::SyncSender)
|
|
||||||
|
|
||||||
Airbrake.configure do |config|
|
Airbrake.configure do |config|
|
||||||
config.host = ENV['airbrake_host']
|
config.host = ENV['airbrake_host']
|
||||||
config.project_id = ENV['airbrake_project_id']
|
config.project_id = ENV['airbrake_project_id']
|
Loading…
Add table
Add a link
Reference in a new issue