Sha256: e624b60c9759a50a17741ddfc26725d4faea78a97114fe7fe1a0cd3761951147

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

require 'bugsnag'
require 'exception_notifier'

module ExceptionNotifier
  class BugsnagNotifier
    def initialize(options={})
      @defaults = options
    end

    def call(exception, options={})
      Bugsnag.notify(exception, @defaults.merge(options))
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception_notification-bugsnag-0.2.0 lib/bugsnag/exception_notification.rb