Sha256: 159bcc9cc8929818ba7e834ed60af48f6d4da0b001e9b3bea01345ba35597204

Contents?: true

Size: 293 Bytes

Versions: 15

Compression:

Stored size: 293 Bytes

Contents

module RuntimeerrorNotifier
  class Tracker
    def initialize(app, options={})
      @app, @options = app, options
    end

    def call(env)
      @app.call(env)
    rescue Exception => ex
      RuntimeerrorNotifier::Notifier.notification(env, ex, @options)
      raise ex
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
runtimeerror_notifier-0.0.27 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.26 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.25 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.24 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.23 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.22 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.21 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.20 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.19 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.18 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.17 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.15 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.14 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.13 lib/runtimeerror_notifier/tracker.rb
runtimeerror_notifier-0.0.12 lib/runtimeerror_notifier/tracker.rb