浏览代码

Wrong parameters passed to ClientException on write errors over the network.

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

+ 2 - 2
lib/Predis.php

@@ -817,9 +817,9 @@ class Connection implements IConnection {
         $written = fwrite($this->getSocket(), $command());
         if ($written === false){
            throw new ClientException(sprintf(
-               'An error has occurred while writing command %s on the network stream'),
+               'An error has occurred while writing command %s on the network stream',
                $command->getCommandId()
-           );
+           ));
         }
     }