소스 검색

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()
-           );
+           ));
         }
     }