From db09631b0827bc6dd727e444327fb33bd5b566de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 7 Sep 2020 11:57:27 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index cba532bf..b4b15b91 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -186,7 +186,7 @@ class ServerInotify extends Process foreach ($this->watchFiles as $wd) { try { @inotify_rm_watch($this->inotify, $wd); - } catch (Exception $exception) { + } catch (\Error|Exception $exception) { $this->debug($exception->getMessage()); } finally { $this->watchFiles = [];