modify plugin name
This commit is contained in:
+3
-1
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user