This commit is contained in:
2023-04-18 23:47:30 +08:00
parent 7472217482
commit ebbc3368bd
5 changed files with 8 additions and 6 deletions
+2 -2
View File
@@ -149,7 +149,7 @@ class Pagination extends Component
try {
call_user_func($this->_callback, $data, $param);
} catch (\Throwable $exception) {
\Kiri::getLogger()->addError($exception, 'throwable');
error($exception);
} finally {
$data = null;
}
@@ -179,7 +179,7 @@ class Pagination extends Component
try {
call_user_func($this->_callback, $data, $param);
} catch (\Throwable $exception) {
\Kiri::getLogger()->addError($exception, 'throwable');
error($exception);
}
}