Remove airbrake gem monkey patches

This commit is contained in:
Artur Beljajev 2019-09-10 23:11:16 +03:00
parent 7dbd07fdcc
commit 674f4d8a20

View file

@ -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|
config.host = ENV['airbrake_host']
config.project_id = ENV['airbrake_project_id']