Flowdock
method

failsafe

Importance_0
v6.0.0 - 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 472
        def failsafe(method, returning: nil)
          yield
        rescue ::Redis::BaseConnectionError => e
          handle_exception exception: e, method: method, returning: returning
          returning
        end
Register or log in to add new notes.