Sha256: adb6e90d647833127f58fad135097f598faf56ccb6ee493fd8a14972ea90c919
Contents?: true
Size: 622 Bytes
Versions: 16
Compression:
Stored size: 622 Bytes
Contents
# typed: false require 'sucker_punch' module Datadog module Tracing 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::Tracing::Contrib::SuckerPunch::ExceptionHandler::METHOD end end end end end end end end
Version data entries
16 entries across 16 versions & 1 rubygems