This commit is contained in:
2026-01-06 21:44:27 +08:00
parent 8bf5027582
commit c9f60a9fa9
+1 -1
View File
@@ -177,7 +177,7 @@ class Command extends Component
return $this->_prepare();
}
$errorMsg = $throwable->getMessage() . PHP_EOL . ' Sql: ' . $this->sql . '.' . json_encode($this->params);
$errorMsg = $throwable->getMessage() . PHP_EOL . ' Sql: ' . $this->sql . '.' . json_encode($this->params, JSON_UNESCAPED_UNICODE);
return $this->getLogger()->logCategory($errorMsg . PHP_EOL, 'mysql');
} finally {