ソースを参照

Merge pull request #160 from victorruan/patch-1

self::log is wrong
walkor 8 年 前
コミット
5e8e57692b
1 ファイル変更2 行追加2 行削除
  1. 2 2
      Connection/TcpConnection.php

+ 2 - 2
Connection/TcpConnection.php

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