This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Don't verify SSL certificates | |
# Needed for https://exceptions.zweitagapps.com on Heroku | |
module Airbrake | |
class Sender | |
alias orig_setup_http_connection setup_http_connection | |
def setup_http_connection | |
orig_setup_http_connection.tap do |http| | |
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if secure? | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment