소스 검색

self::log is wrong

victorruan 8 년 전
부모
커밋
5f2d958dfd
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      Connection/TcpConnection.php

+ 2 - 2
Connection/TcpConnection.php

@@ -403,10 +403,10 @@ class TcpConnection extends ConnectionInterface
                 try {
                     call_user_func($this->onSslHandshake, $this);
                 } catch (\Exception $e) {
-                    self::log($e);
+                    Worker::log($e);
                     exit(250);
                 } catch (\Error $e) {
-                    self::log($e);
+                    Worker::log($e);
                     exit(250);
                 }
             }