From be33afb8e23cd0a092a9134378cf5730f44b2b1b Mon Sep 17 00:00:00 2001 From: Lukas Sarfert Date: Wed, 4 Dec 2024 13:14:44 +0100 Subject: [PATCH] remove redundant yii error command --- src/JsonApiErrorHandler.php | 1 - 1 file changed, 1 deletion(-) 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