This commit is contained in:
2023-04-18 23:47:31 +08:00
parent 88c2c430c6
commit af284dbe4b
6 changed files with 62 additions and 37 deletions
+1 -1
View File
@@ -172,7 +172,7 @@ class Connection extends Component
$result = true;
}
} catch (Error|Throwable $exception) {
$result = \Kiri::getLogger()->addError($exception, 'mysql');
$result = addError($exception, 'mysql');
} finally {
return $result;
}