Return after successful error handling.
This commit is contained in:
parent
3fa55f6dea
commit
6fe34a4797
1 changed files with 2 additions and 0 deletions
|
|
@ -29,8 +29,10 @@ export async function handleHardError(errorPayload) {
|
||||||
if(isInStaticErrorExperiment) {
|
if(isInStaticErrorExperiment) {
|
||||||
analyticsMixin?.methods?.pushPageErrorToDataLayer(errorPayload);
|
analyticsMixin?.methods?.pushPageErrorToDataLayer(errorPayload);
|
||||||
window.top.location = "/fmg/static/error";
|
window.top.location = "/fmg/static/error";
|
||||||
|
return;
|
||||||
} else {
|
} else {
|
||||||
handleSoftError(errorPayload, true);
|
handleSoftError(errorPayload, true);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
handleSoftError(errorPayload, true);
|
handleSoftError(errorPayload, true);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue