This commit is contained in:
2023-04-06 23:01:18 +08:00
parent 7fc9a5a908
commit ff751db14c
+1 -1
View File
@@ -183,7 +183,7 @@ class Connection extends Component
*/ */
public function getConnection(): PDO public function getConnection(): PDO
{ {
$client = $this->connections->get($this->cds); return $this->connections->get($this->cds);
if ($client === false) { if ($client === false) {
throw new Exception('waite db client timeout.'); throw new Exception('waite db client timeout.');
} }