Removes unused inclusion of the TestMethods in AirbrakeController Refactor the setup_http_connection tests for sanity
This reverts commit 2abaf79.
- moves #ca_bundle_path to Airbrake::Configuration - moves #local_cert_path to Airbrake::Configuration - adds #use_system_ssl_cert_chain? alias to Airbrake::Configuration - makes Airbrake.configure return the created sender (in addition to yielding) - stops airbrake deploy tasks duplicate code form the configuration class - cleanup unused expectations from tests
… by setting use_system_ssl_cert_chain to true Test refactoring
…f the system default SSL chain (as opposed to the CAs bundled with Airbrake) - defaults to false
Reorganizes unit tests in contexts Airbrake#setup_http_connection rescues exceptions, logs them and re-raises Airbrake#send_to_airbrake rescues exceptions, logs and swallows (returns nil). Fixes issue #23
improve exception handling for exceptions that implement to_hash
… a deploy notification
…ted the cucumber feature to look for the right task name.
example: Savon::SOAP::Fault see: http://help.hoptoadapp.com/discussions/hoptoad-notifier-patches-and-discussion/67-exceptions-that-implement-to_hash-lose-all-of-their-useful-data This replays thoughtbot/hoptoad_notifier#25 for airbrake
This reverts commit 1b65dd7. This commit is being reverted because the :exception key on the argument to Notice.new is no longer an Exception decendant. As part of this change, Notice needs to be reworked to handle that, or preferably never instanciate a notice where the :exception key on the args is not an Exception object. Conflicts: test/notifier_test.rb
…ng then catching.
Improve exception handling for exceptions that implement to_hash.