mirror of
https://github.com/predis/predis.git
synced 2026-09-10 10:27:11 +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;
|
return $response;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// TODO: ...
|
throw new ClientException('The server did not respond with a QUEUED status reply');
|
||||||
throw new ClientException('Unexpected condition');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user