method

failsafe

Importance_0
v6.1.7.7 - Show latest stable - 0 notes - Class: RedisCacheStore
failsafe(method, returning: nil) 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 477
        def failsafe(method, returning: nil)
          yield
        rescue ::Redis::BaseError => e
          handle_exception exception: e, method: method, returning: returning
          returning
        end
Register or log in to add new notes.