fix(commit): refs #6403 hotFix add commit #2088
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue