mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-29 13:57:50 +08:00
pull origin
This commit is contained in:
@@ -66,6 +66,12 @@ class ErrorAction extends Action
|
||||
*/
|
||||
public $defaultMessage;
|
||||
|
||||
|
||||
/**
|
||||
* Runs the action
|
||||
*
|
||||
* @return string result content
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
if (($exception = Yii::$app->getErrorHandler()->exception) === null) {
|
||||
|
||||
Reference in New Issue
Block a user