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); }