Module: ExceptionGateway::Vendors
- Included in:
- Gateway
- Defined in:
- lib/exception_gateway/vendors/bugsnag.rb
Instance Method Summary collapse
Instance Method Details
#bugsnag_alert(msg, options = {}) ⇒ Object
3 4 5 |
# File 'lib/exception_gateway/vendors/bugsnag.rb', line 3 def bugsnag_alert(msg, ={}) Bugsnag.notify(RuntimeError.new(msg), {:details => }) end |
#bugsnag_transmit(exception) ⇒ Object
7 8 9 |
# File 'lib/exception_gateway/vendors/bugsnag.rb', line 7 def bugsnag_transmit(exception) Bugsnag.notify(exception) end |