lib/sapience/error_handler/silent.rb in sapience-2.4.0 vs lib/sapience/error_handler/silent.rb in sapience-2.5.0

- old
+ new

@@ -1,5 +1,6 @@ +# frozen_string_literal: true module Sapience class ErrorHandler class Silent < Sapience::ErrorHandler # level: [:trace | :debug | :info | :warn | :error | :fatal] @@ -22,10 +23,10 @@ end def capture(_options: {}) nil end - alias_method :capture!, :capture + alias capture! capture def user_context(_options = {}) nil end