This commit is contained in:
2023-08-17 15:52:02 +08:00
parent 62fb7a2278
commit 483dd6bc79
+1 -1
View File
@@ -870,7 +870,7 @@ if (!function_exists('error')) {
*/ */
function error(mixed $message, array $method = []): void 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; return;
} }
Kiri::getLogger()->failure($message); Kiri::getLogger()->failure($message);