Skip to content

Commit

Permalink
Merge pull request sidekiq#2802 from zedtux/patch-1
Browse files Browse the repository at this point in the history
Update redis_connection.rb
  • Loading branch information
mperham committed Jan 29, 2016
2 parents e3f1c6f + 03cb215 commit fe5ec6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/sidekiq/redis_connection.rb
Expand Up @@ -44,7 +44,8 @@ def build_client(options)
require 'redis/namespace'
Redis::Namespace.new(namespace, :redis => client)
rescue LoadError
Sidekiq.logger.error("redis-namespace gem not included in Gemfile, cannot use namespace '#{namespace}'")
Sidekiq.logger.error("Your Redis configuration use the namespace '#{namespace}' but the redis-namespace gem not included in Gemfile." \
"Add the gem to your Gemfile in case you would like to keep using a namespace, otherwise remove the namespace parameter.")
exit(-127)
end
else
Expand Down

0 comments on commit fe5ec6f

Please sign in to comment.