From 5475f2cd516ef717b366b55e7bae8a62fc8c07b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Mon, 6 Dec 2021 14:45:12 +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 --- kiri-engine/FileListen/Inotify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiri-engine/FileListen/Inotify.php b/kiri-engine/FileListen/Inotify.php index facd3ac0..0a441ff2 100644 --- a/kiri-engine/FileListen/Inotify.php +++ b/kiri-engine/FileListen/Inotify.php @@ -105,7 +105,7 @@ class Inotify try { inotify_rm_watch($this->inotify, $wd); } catch (\Throwable $exception) { - logger()->addError($exception, 'throwable'); + logger()->addError($exception->getMessage(), 'throwable'); } } $this->watchFiles = [];