Sha256: eff776b7d1d1b3a72b45dfe3b87af6fb4d57ed85247d0a09642b73e22ea8096c
Contents?: true
Size: 446 Bytes
Versions: 5
Compression:
Stored size: 446 Bytes
Contents
module Errplane module Rails module Middleware module HijackRenderException def self.included(base) base.send(:alias_method_chain,:render_exception,:errplane) end def render_exception_with_errplane(env, e) controller = env['action_controller.instance'] Errplane.transmit_to_api(e, env) render_exception_without_errplane(env, e) end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems