Ver Fonte

self::log is wrong

victorruan há 8 anos atrás
pai
commit
5f2d958dfd
1 ficheiros alterados com 2 adições e 2 exclusões
  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);
                 }
             }