diff --git a/back/methods/mrw-config/createShipment.js b/back/methods/mrw-config/createShipment.js index b18040a3d4..12263de033 100644 --- a/back/methods/mrw-config/createShipment.js +++ b/back/methods/mrw-config/createShipment.js @@ -94,7 +94,7 @@ module.exports = Self => { if (tx) await tx.commit(); } catch (error) { if (tx) await tx.rollback(); - throw new UserError(`Cant update `); + throw error; } return file; };