Commit bbbeae95 by Carsten Brandt
parent c808932c
......@@ -92,7 +92,7 @@ class Application extends \yii\base\Application
return $response;
}
} catch (InvalidRouteException $e) {
throw new NotFoundHttpException(Yii::t('yii', 'Page not found.', $e->getCode(), $e));
throw new NotFoundHttpException(Yii::t('yii', 'Page not found.'), $e->getCode(), $e);
}
}
......
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