This commit is contained in:
2023-08-14 14:02:16 +08:00
parent 63ddc36958
commit d42d284f62
4 changed files with 43 additions and 28 deletions
+1 -1
View File
@@ -226,7 +226,7 @@ class Command extends Component
*/
private function error(Throwable $throwable): bool
{
return trigger_print_error($this->sql . '.' . json_encode($this->params, JSON_UNESCAPED_UNICODE) . PHP_EOL . jTraceEx($throwable), 'mysql');
return trigger_print_error($this->sql . '.' . json_encode($this->params, JSON_UNESCAPED_UNICODE) . PHP_EOL . throwable($throwable), 'mysql');
}