modify plugin name

This commit is contained in:
2022-07-11 18:34:30 +08:00
parent f14b198e25
commit 9fa91a05ef
+3 -1
View File
@@ -233,7 +233,9 @@ class PDO implements StopHeartbeatCheck
$this->pdo->getAttribute(\PDO::ATTR_SERVER_INFO); $this->pdo->getAttribute(\PDO::ATTR_SERVER_INFO);
$result = true; $result = true;
} catch (\Throwable $throwable) { } catch (\Throwable $throwable) {
Kiri::getLogger()->error($throwable->getMessage()); if (!str_contains($throwable->getMessage(), 'Idle dis')) {
Kiri::getLogger()->error($throwable->getMessage());
}
$this->pdo = null; $this->pdo = null;
$result = false; $result = false;
} finally { } finally {