mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 22:32:40 +08:00
Merge branch 'master' of git.yiisoft.com:yii2
This commit is contained in:
@ -321,7 +321,7 @@ class ErrorHandler extends ApplicationComponent
|
||||
$view = new View;
|
||||
$view->owner = $this;
|
||||
$name = !YII_DEBUG || $exception instanceof HttpException ? $this->errorView : $this->exceptionView;
|
||||
$view->render($name, array(
|
||||
echo $view->render($name, array(
|
||||
'exception' => $exception,
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user