Sha256: d9f55c1a2463c9bd9bd9fc98e36a0ee4721da7d5dac5a2a52b1089913a81e242
Contents?: true
Size: 510 Bytes
Versions: 5
Compression:
Stored size: 510 Bytes
Contents
module Ratchetio module Middleware module Rack module Builder include ExceptionReporter def call_with_ratchetio(env) call_without_ratchetio(env) rescue => exception report_exception_to_ratchetio(env, exception) raise exception end def self.included(base) base.send(:alias_method, :call_without_ratchetio, :call) base.send(:alias_method, :call, :call_with_ratchetio) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems