eee
This commit is contained in:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user