Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

generic error handler

  • Loading branch information...
commit f581224662f9d81fef9f6c5ef00dc6994aa6ccf9 1 parent 17f7c59
@pedro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/redis-store-rails2.rb
View
2  lib/redis-store-rails2.rb
@@ -72,7 +72,7 @@ def handle_errors(options = {})
Timeout.timeout(1) do
return yield
end
- rescue Errno::ECONNREFUSED => e
+ rescue Exception => e
logger.error("RedisStoreRails2 error (#{e.class.name}): #{e.message}")
raise RedisStoreRails2::Error.new(e.to_s) if options[:raise_errors]
options[:default_value]
Please sign in to comment.
Something went wrong with that request. Please try again.