/**
* Returns a value indicating whether the filer is active for the given action.
* @param \yii\base\Action $action the action being filtered
* @return boolean whether the filer is active for the given action.
*/
protected function isActive($action)
{
if ($action->getUniqueId() === Yii::$app->getErrorHandler()->errorAction) {
return false;
}
return parent::isActive($action);
}