method
rescue_error_with
v5.0.0.1 -
Show latest stable
- Class:
ActiveSupport::Cache::MemCacheStore
rescue_error_with(fallback)private
No documentation available.
# File activesupport/lib/active_support/cache/mem_cache_store.rb, line 199
def rescue_error_with(fallback)
yield
rescue Dalli::DalliError => e
logger.error("DalliError (#{e}): #{e.message}") if logger
fallback
end