lib/light-service-ext/configuration.rb in light-service-ext-0.1.8 vs lib/light-service-ext/configuration.rb in light-service-ext-0.1.9

- old
+ new

@@ -5,10 +5,10 @@ include ActiveSupport::Configurable config_accessor(:allow_raise_on_failure) { true } config_accessor(:non_fatal_error_classes) { [] } config_accessor(:default_non_fatal_error_classes) { ['Rails::ActiveRecordError'.safe_constantize] } - config_accessor(:logger) { (defined? Rails.logger).nil? ? Logger.new($stdout) : Rails.logger } + config_accessor(:on_raised_error) { proc {|_ctx, _error|} } def allow_raise_on_failure? !!allow_raise_on_failure end