summaryrefslogtreecommitdiff
path: root/redis/connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'redis/connection.py')
-rw-r--r--redis/connection.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/redis/connection.py b/redis/connection.py
index e138d4c..343c838 100644
--- a/redis/connection.py
+++ b/redis/connection.py
@@ -9,6 +9,7 @@ from redis._compat import (b, xrange, imap, byte_to_chr, unicode, bytes, long,
from redis.exceptions import (
RedisError,
ConnectionError,
+ BusyLoadingError,
ResponseError,
InvalidResponse,
AuthenticationError,
@@ -37,7 +38,7 @@ class PythonParser(object):
EXCEPTION_CLASSES = {
'ERR': ResponseError,
'EXECABORT': ExecAbortError,
- 'LOADING': ConnectionError,
+ 'LOADING': BusyLoadingError,
'NOSCRIPT': NoScriptError,
}