diff --git a/src/JsonApiErrorHandler.php b/src/JsonApiErrorHandler.php index c3961c9..5ca5da3 100644 --- a/src/JsonApiErrorHandler.php +++ b/src/JsonApiErrorHandler.php @@ -70,7 +70,6 @@ class JsonApiErrorHandler extends ErrorHandler protected function renderException($exception) { - Yii::error($exception); if (Yii::$app->has('response')) { $response = Yii::$app->getResponse(); // reset parameters of response to avoid interference with partially created response data