This commit is contained in:
2023-04-16 02:46:54 +08:00
parent d22955233c
commit 0bf69d576d
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -149,7 +149,7 @@ class Pagination extends Component
try {
call_user_func($this->_callback, $data, $param);
} catch (\Throwable $exception) {
$this->logger->addError($exception, 'throwable');
\Kiri::getLogger()->addError($exception, 'throwable');
} finally {
$data = null;
}
@@ -179,7 +179,7 @@ class Pagination extends Component
try {
call_user_func($this->_callback, $data, $param);
} catch (\Throwable $exception) {
$this->logger->addError($exception, 'throwable');
\Kiri::getLogger()->addError($exception, 'throwable');
}
}