This commit is contained in:
David Arranz 2025-11-05 18:15:25 +01:00
parent 465ddd1644
commit 98a0231906
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ export abstract class TransactionManager implements ITransactionManager {
await this.rollback();
const error = err as Error;
logger.error(`❌ Transaction rolled back due to error: ${error.message}`, {
//stack: error.stack,
stack: error.stack,
label: "TransactionManager.start",
});
throw error;

View File

@ -76,7 +76,7 @@ export class SequelizeTransactionManager extends TransactionManager {
} catch (err) {
const error = err as Error;
logger.error(`❌ Transaction rolled back due to error: ${error.message}`, {
//stack: error.stack,
stack: error.stack,
label: "SequelizeTransactionManager.complete",
});
throw error;