qqq
This commit is contained in:
+1
-2
@@ -209,8 +209,7 @@ class Command extends Component
|
||||
*/
|
||||
private function error(Throwable $throwable): bool
|
||||
{
|
||||
$message = $this->sql . '.' . json_encode($this->params, JSON_UNESCAPED_UNICODE);
|
||||
error($throwable, [$message]);
|
||||
error('mysql', [$this->sql . '.' . json_encode($this->params, JSON_UNESCAPED_UNICODE), throwable($throwable)]);
|
||||
return addError($throwable->getMessage(), 'mysql');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user