diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index b8c28098..ada77c96 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -103,9 +103,9 @@ class Inotify { foreach ($this->watchFiles as $wd) { try { - inotify_rm_watch($this->inotify, $wd); + @inotify_rm_watch($this->inotify, $wd); } catch (\Throwable $exception) { - logger()->addError($exception->getMessage(), 'throwable'); +// logger()->addError($exception->getMessage(), 'throwable'); } } $this->watchFiles = [];