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