Merge pull request #1849 from Safelite/feature/csr-2080
Return early so page-not-found errors only create one error on bus.
This commit is contained in:
commit
0fbf9717db
1 changed files with 1 additions and 0 deletions
|
|
@ -160,6 +160,7 @@ const routes = [
|
||||||
if (!isExistingFmgPageName(to.query.fmgPage)) {
|
if (!isExistingFmgPageName(to.query.fmgPage)) {
|
||||||
console.log("Not an existing fmg page name:" + to.query.fmgPage);
|
console.log("Not an existing fmg page name:" + to.query.fmgPage);
|
||||||
GoToFunnelStartOn404(next);
|
GoToFunnelStartOn404(next);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get route info for the given url. Names will have a 1:1 relationship with names in the Cms.
|
// Get route info for the given url. Names will have a 1:1 relationship with names in the Cms.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue