method
handle_exception
v6.1.7.7 -
Show latest stable
- Class:
ActiveSupport::Cache::RedisCacheStore
handle_exception(exception:, method:, returning:)private
No documentation available.
# 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