Sha256: 8eb132f92063f91709d96a6b6eba364c9ad3d651bfda15313d9643e03abf07e2
Contents?: true
Size: 508 Bytes
Versions: 13
Compression:
Stored size: 508 Bytes
Contents
module Rollbar module Middleware module Rack module Builder include ExceptionReporter def call_with_rollbar(env) call_without_rollbar(env) rescue Exception => exception report_exception_to_rollbar(env, exception) raise exception end def self.included(base) base.send(:alias_method, :call_without_rollbar, :call) base.send(:alias_method, :call, :call_with_rollbar) end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems