mirror of
https://github.com/predis/predis.git
synced 2026-08-21 00:21:50 +00:00
Throw a more meaningful exception if the server does not respond with a +QUEUED status reply to commands issued in a MULTI / EXEC context.
This commit is contained in:
+1
-2
@@ -490,8 +490,7 @@ class MultiExecBlock {
|
||||
return $response;
|
||||
}
|
||||
else {
|
||||
// TODO: ...
|
||||
throw new ClientException('Unexpected condition');
|
||||
throw new ClientException('The server did not respond with a QUEUED status reply');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user