Adding some error handling.

This commit is contained in:
Jeremy-Z 2026-07-01 13:40:03 -04:00
parent 0379010c1d
commit 4cc8b1446b

View file

@ -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;