Merge pull request #189 from vsoskov/jedis
--- the exception is returned in the list with the not formatted and formatted values. Response.get throws the exception.
This commit is contained in:
@@ -114,7 +114,11 @@ public final class Protocol {
|
||||
}
|
||||
List<Object> ret = new ArrayList<Object>(num);
|
||||
for (int i = 0; i < num; i++) {
|
||||
ret.add(process(is));
|
||||
try{
|
||||
ret.add(process(is));
|
||||
}catch(JedisDataException e){
|
||||
ret.add(e);
|
||||
}
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user