add log updateReservationAndLoadingBalance

This commit is contained in:
WildanFahri
2025-01-13 18:05:27 +07:00
parent 7434464106
commit aec06cb481
@@ -675,10 +675,16 @@ const updateReservationAndLoadingBalance = async (
.catch(trx.rollback);
})
.then((result) => {
winston.logger.debug(
`${uniqueCode} result updateReservationAndLoadingBalance success`
);
// console.log(result);
return result.rowCount;
})
.catch((error) => {
winston.logger.debug(
`${uniqueCode} result updateReservationAndLoadingBalance error: ${error.message}`
);
// console.log(error.message);
return error.message;
});