method

handle_exception

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: RedisCacheStore
handle_exception(exception:, method:, returning:) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/redis_cache_store.rb, line 484
        def handle_exception(exception,, method,, returning))
          if @error_handler
            @error_handler.(method: method, exception: exception, returning: returning)
          end
        rescue => failsafe
          warn "RedisCacheStore ignored exception in handle_exception: #{failsafe.class}: #{failsafe.message}\n  #{failsafe.backtrace.join("\n  ")}"
        end
Register or log in to add new notes.