From 4cc8b1446bc7523a1b6ec0a4be828d6d2cbe8114 Mon Sep 17 00:00:00 2001 From: Jeremy-Z Date: Wed, 1 Jul 2026 13:40:03 -0400 Subject: [PATCH] Adding some error handling. --- src/router/index.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index ec30d5dc..a45182d6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -163,8 +163,12 @@ if (callSaveSession) { // NOTE: This call should be creating the referral number. After this point in the site flow, referral number is critical for several pieces of logic and logging. // Therefore, we want to force a bailout here if it errors out. showIssLoadingModal(true); - await saveSession({ shouldAwaitSaveSessionQueue: true, bailoutOnError: true }); - showIssLoadingModal(false); + try { + await saveSession({ shouldAwaitSaveSessionQueue: true, bailoutOnError: true }); + } + finally { + showIssLoadingModal(false); + } } const toQueryPage = to.query?.issPage;