We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ee0e9d commit 881ce12Copy full SHA for 881ce12
components/ErrorHandler.php
@@ -20,7 +20,7 @@ class ErrorHandler extends \yii\console\ErrorHandler
20
*
21
* @param \Exception $exception the exception to be logged
22
*/
23
- protected function logException($exception)
+ public function logException($exception)
24
{
25
$category = get_class($exception);
26
if ($exception instanceof HttpException) {
@@ -35,4 +35,4 @@ protected function logException($exception)
35
\Yii::error((string)$exception, $category);
36
}
37
38
-}
+}
0 commit comments