Parcourir la source

Merge pull request #160 from victorruan/patch-1

self::log is wrong
walkor il y a 8 ans
Parent
commit
5e8e57692b
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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);
                 }
             }