throw error on pricing failure
This commit is contained in:
parent
af9dc67924
commit
4b0c4755f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue