diff --git a/Command.php b/Command.php index 8ef57a6..1f7ba86 100644 --- a/Command.php +++ b/Command.php @@ -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 {