Redis: Maintain exception lists

This commit is contained in:
Ask Solem 2010-07-23 14:43:46 +02:00
parent 621b77a92a
commit 178bc8cde2
1 changed files with 3 additions and 1 deletions

View File

@ -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)