Skip to content

Commit 134701e

Browse files
authored
Merge pull request #8 from php-openapi/remove-redundant-yii-error
remove redundant yii error command
2 parents cc5a4fd + be33afb commit 134701e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/JsonApiErrorHandler.php

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ class JsonApiErrorHandler extends ErrorHandler
7070

7171
protected function renderException($exception)
7272
{
73-
Yii::error($exception);
7473
if (Yii::$app->has('response')) {
7574
$response = Yii::$app->getResponse();
7675
// reset parameters of response to avoid interference with partially created response data

0 commit comments

Comments
 (0)