Adding some error handling.
This commit is contained in:
parent
0379010c1d
commit
4cc8b1446b
1 changed files with 6 additions and 2 deletions
|
|
@ -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.
|
// 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.
|
// Therefore, we want to force a bailout here if it errors out.
|
||||||
showIssLoadingModal(true);
|
showIssLoadingModal(true);
|
||||||
await saveSession({ shouldAwaitSaveSessionQueue: true, bailoutOnError: true });
|
try {
|
||||||
showIssLoadingModal(false);
|
await saveSession({ shouldAwaitSaveSessionQueue: true, bailoutOnError: true });
|
||||||
|
}
|
||||||
|
finally {
|
||||||
|
showIssLoadingModal(false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const toQueryPage = to.query?.issPage;
|
const toQueryPage = to.query?.issPage;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue