3061-send_thermograph #725
|
@ -96,7 +96,7 @@ module.exports = Self => {
|
|||
|
||||
return travelThermograph;
|
||||
} catch (err) {
|
||||
await tx.rollback();
|
||||
if (tx) await tx.rollback();
|
||||
throw err;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue