Sha256: 49f5b6cab27cbf7e132735eb44cdf7513cd4d432334d3e6e124feb0d336fe859
Contents?: true
Size: 555 Bytes
Versions: 5
Compression:
Stored size: 555 Bytes
Contents
# typed: false require 'sucker_punch' module Datadog module Contrib module SuckerPunch # Patches `sucker_punch` exception handling module ExceptionHandler METHOD = ->(e, *) { raise(e) } module_function def patch! ::SuckerPunch.singleton_class.class_eval do alias_method :__exception_handler, :exception_handler def exception_handler ::Datadog::Contrib::SuckerPunch::ExceptionHandler::METHOD end end end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems