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:
Daniele Alessandri
2009-12-31 14:11:24 +01:00
parent 1f9e6143bf
commit 2a06d84a7b
+1 -2
View File
@@ -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');
}
}