diff --git a/function.php b/function.php index f1a650b4..38c012f6 100644 --- a/function.php +++ b/function.php @@ -870,7 +870,7 @@ if (!function_exists('error')) { */ function error(mixed $message, array $method = []): void { - if (is_string($message) && str_contains($message, 'inotify_rm_watch(): The file descriptor is not an inotify instance or the watch descriptor')) { + if (is_string($message) && str_contains($message, 'inotify_rm_watch')) { return; } Kiri::getLogger()->failure($message);