Throw translated Exception on SRP conn failure
DATAREDIS-234
This commit is contained in:
@@ -210,6 +210,8 @@ public class SrpConnection implements RedisConnection {
|
||||
this.queue = queue;
|
||||
} catch (IOException e) {
|
||||
throw new RedisConnectionFailureException("Could not connect", e);
|
||||
} catch(RedisException e) {
|
||||
throw new RedisConnectionFailureException("Could not connect", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user