refs #6915 master into test #2092
|
@ -94,7 +94,7 @@ module.exports = Self => {
|
||||||
if (tx) await tx.commit();
|
if (tx) await tx.commit();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (tx) await tx.rollback();
|
if (tx) await tx.rollback();
|
||||||
throw new UserError(`Cant update `);
|
throw error;
|
||||||
}
|
}
|
||||||
return file;
|
return file;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue