throw error on pricing failure

This commit is contained in:
Bill Richardson 2023-12-05 10:10:33 -05:00
parent af9dc67924
commit 4b0c4755f1

View file

@ -918,7 +918,7 @@ export const useMainStore = defineStore({
endpoint: `${endpoints.GetInsurancePriceOrderItems.url}?${queryString}`
}).catch((error) => {
console.error(error);
return [];
throw error;
});
if (response.data?.lineItems) {