Ver código fonte

Fix a wrong namespace path in SafeExecutor::execute().

Daniele Alessandri 15 anos atrás
pai
commit
f0d2551244
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

@@ -1570,7 +1570,7 @@ class SafeExecutor implements IPipelineExecutor {
             try {
             try {
                 $connection->writeCommand($command);
                 $connection->writeCommand($command);
             }
             }
-            catch (CommunicationException $exception) {
+            catch (\Predis\CommunicationException $exception) {
                 return array_fill(0, $sizeofPipe, $exception);
                 return array_fill(0, $sizeofPipe, $exception);
             }
             }
         }
         }