改名
This commit is contained in:
@@ -188,7 +188,7 @@ class ServerInotify extends Process
|
|||||||
try {
|
try {
|
||||||
inotify_rm_watch($this->inotify, $wd);
|
inotify_rm_watch($this->inotify, $wd);
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
$this->debug($exception->getMessage());
|
$this->application->debug($exception->getMessage());
|
||||||
} finally {
|
} finally {
|
||||||
$this->watchFiles = [];
|
$this->watchFiles = [];
|
||||||
}
|
}
|
||||||
@@ -200,8 +200,8 @@ class ServerInotify extends Process
|
|||||||
protected function onErrorHandler()
|
protected function onErrorHandler()
|
||||||
{
|
{
|
||||||
[$code, $message, $file, $line, $args] = func_get_args();
|
[$code, $message, $file, $line, $args] = func_get_args();
|
||||||
$this->debug('Error:' . $message);
|
$this->application->debug('Error:' . $message);
|
||||||
$this->debug($file . ':' . $line);
|
$this->application->debug($file . ':' . $line);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user