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