Skip to content

Commit be33afb

Browse files
committed
remove redundant yii error command
1 parent cc5a4fd commit be33afb

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)