CSR-1855 allow 404s to skip page error logic for no wipers or no promo
This commit is contained in:
CarlNation 2024-02-28 09:48:19 -05:00
parent 9260892727
commit 3c8147081f

View file

@ -61,7 +61,11 @@ export default {
);
}
router.navigateError();
// do not route to error logic when no wipers found or no promo found (404s)
if (error.response.status != "404") {
router.navigateError();
}
return reject(error.response);
}
);