Sha256: aa6c95032fbadd272afc040ae60172bfb450dc3b12b896894d2b547e7edc61d9
Contents?: true
Size: 498 Bytes
Versions: 53
Compression:
Stored size: 498 Bytes
Contents
module Rollbar module Middleware module Rack module Builder include ExceptionReporter def call_with_rollbar(env) call_without_rollbar(env) rescue => 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
53 entries across 53 versions & 1 rubygems