Commit 21a8f40e by Qiang Xue

Merge branch 'master' of git.yiisoft.com:yii2

parents ed9f225f 3409c766
......@@ -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,
));
}
......
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