Sha256: 08c0bc778653bf8bc36eee110f8098cf70ac1bfecb1a78e2eeb3a8bcb4309198
Contents?: true
Size: 449 Bytes
Versions: 30
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true require 'escalate' module ExceptionHandling module EscalateCallback class << self def register_if_configured! register! if ::ExceptionHandling.configured? end def register! Escalate.on_escalate(log_first: false) do |exception, location_message, **context| ::ExceptionHandling.log_error(exception, location_message, **context) end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems