Browse Source

Throw a more meaningful exception if the server does not respond with a +QUEUED status reply to commands issued in a MULTI / EXEC context.

Daniele Alessandri 15 years ago
parent
commit
2a06d84a7b
1 changed files with 1 additions and 2 deletions
  1. 1 2
      lib/Predis.php

+ 1 - 2
lib/Predis.php

@@ -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');
         }
     }