chore: refs #8441 simplify error handling by rethrowing original errors
gitea/salix-front/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Jose Antonio Tubau 2025-04-02 06:51:39 +02:00
parent c57600b0f0
commit 4e49a73173
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ async function unassignInvoice(id) {
notify(t('vehicle.ticket.unlinkedInvoice'), 'positive');
tableRef.value.reload();
} catch (e) {
throw new Error(e.message);
throw e;
}
}
</script>

View File

@ -34,7 +34,7 @@ const importDms = async () => {
dmsId.value = null;
emit('onDataSaved');
} catch (e) {
throw new Error(e.message);
throw e;
}
};
</script>