Sha256: 190b16c2abcdf920fe2a973c0029665115fda3c0a4090081d79daf6e4746036b
Contents?: true
Size: 542 Bytes
Versions: 77
Compression:
Stored size: 542 Bytes
Contents
module Rollbar module Middleware module Rack module TestSession include ExceptionReporter def env_for_with_rollbar(path, env) env_for_without_rollbar(path, env) rescue Exception => exception report_exception_to_rollbar(env, exception) raise exception end def self.included(base) base.send(:alias_method, :env_for_without_rollbar, :env_for) base.send(:alias_method, :env_for, :env_for_with_rollbar) end end end end end
Version data entries
77 entries across 77 versions & 1 rubygems