fixed service crash
All checks were successful
Build & Deploy on Dev / build (push) Successful in 1m2s

This commit is contained in:
Warunee Tamkoo 2026-05-20 20:40:09 +07:00
parent bca04f2881
commit e374f2e339
4 changed files with 25 additions and 37 deletions

View file

@ -188,6 +188,7 @@ export async function CreatePosMasterHistoryOfficer(
return true;
} catch (err) {
if (manager) {
console.error("CreatePosMasterHistoryOfficer error (external transaction):", err);
throw err;
}
console.error("CreatePosMasterHistoryOfficer transaction error:", err);