From ab666413108b5e5f8092fa8fd8fe9b86b0f508c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 7 Sep 2020 17:36:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Process/ServerInotify.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 5d623ead..832fc0f5 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -188,7 +188,7 @@ class ServerInotify extends Process try { inotify_rm_watch($this->inotify, $wd); } catch (\Throwable $exception) { - $this->debug($exception->getMessage()); + $this->application->debug($exception->getMessage()); } finally { $this->watchFiles = []; } @@ -200,8 +200,8 @@ class ServerInotify extends Process protected function onErrorHandler() { [$code, $message, $file, $line, $args] = func_get_args(); - $this->debug('Error:' . $message); - $this->debug($file . ':' . $line); + $this->application->debug('Error:' . $message); + $this->application->debug($file . ':' . $line); }