From 9eeca895bfedaa995f1092549eee83b7af757c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 7 Sep 2020 12:06:17 +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 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index ff42321c..04cd0af1 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -197,12 +197,11 @@ class ServerInotify extends Process } /** - * + * @param $error */ - protected function onErrorHandler() + protected function onErrorHandler($error) { - $error = func_get_args(); - print_r($error[1] . ' ' . $error[2] . ':' . $error[3]); + $this->debug($error[1] . ' ' . $error[2] . ':' . $error[3]); }