Commit 06e0c506 by Alexandr

Update ErrorAction.php

parent aedac962
......@@ -68,7 +68,7 @@ class ErrorAction extends Action
public function run()
{
if (($exception = Yii::$app->errorHandler->exception) === null) {
if (($exception = Yii::$app->getErrorHandler()->exception) === null) {
return '';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment