Explorar o código

Merge pull request #160 from victorruan/patch-1

self::log is wrong
walkor %!s(int64=8) %!d(string=hai) anos
pai
achega
5e8e57692b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);
                 }
             }