浏览代码

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

Daniele Alessandri 15 年之前
父节点
当前提交
f0d2551244
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/Predis.php

+ 1 - 1
lib/Predis.php

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