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:
chloeherdsafelite 2024-05-10 10:35:54 -04:00 committed by GitHub
commit 0fbf9717db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,6 +160,7 @@ const routes = [
if (!isExistingFmgPageName(to.query.fmgPage)) {
console.log("Not an existing fmg page name:" + to.query.fmgPage);
GoToFunnelStartOn404(next);
return;
}
// Get route info for the given url. Names will have a 1:1 relationship with names in the Cms.