diff --git a/Mysql/PDO.php b/Mysql/PDO.php index e351e77..fd3e9ad 100644 --- a/Mysql/PDO.php +++ b/Mysql/PDO.php @@ -233,7 +233,9 @@ class PDO implements StopHeartbeatCheck $this->pdo->getAttribute(\PDO::ATTR_SERVER_INFO); $result = true; } catch (\Throwable $throwable) { - Kiri::getLogger()->error($throwable->getMessage()); + if (!str_contains($throwable->getMessage(), 'Idle dis')) { + Kiri::getLogger()->error($throwable->getMessage()); + } $this->pdo = null; $result = false; } finally {