From bbb3cafc591d6891bfacc91817a4a34792abff3b Mon Sep 17 00:00:00 2001 From: Chloe Herd Date: Thu, 9 May 2024 15:54:06 -0400 Subject: [PATCH] Return early so page-not-found errors only create one error on bus. --- src/router/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/router/index.js b/src/router/index.js index 96ed259ef..2ce833135 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -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.