From 178bc8cde207c84c643783820f4dfad085c6cfdf Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Fri, 23 Jul 2010 14:43:46 +0200 Subject: [PATCH] Redis: Maintain exception lists --- kombu/backends/pyredis.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kombu/backends/pyredis.py b/kombu/backends/pyredis.py index 34aa9184..98769f5b 100644 --- a/kombu/backends/pyredis.py +++ b/kombu/backends/pyredis.py @@ -78,7 +78,9 @@ class RedisBackend(virtual.VirtualBaseBackend): Channel = RedisChannel default_port = DEFAULT_PORT - connection_errors = (exceptions.ConnectionError, ) + connection_errors = (exceptions.ConnectionError, + exceptions.AuthenticationError) channel_errors = (exceptions.ConnectionError, + exceptions.InvalidData, exceptions.InvalidResponse, exceptions.ResponseError)