auto(agent): Improved error logging for deal participants query
This commit is contained in:
parent
068971c887
commit
4277019218
2 changed files with 3 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ const getDealParticipants = async (dealId) => {
|
||||||
|
|
||||||
return rows[0] || null;
|
return rows[0] || null;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.error('Database error while fetching deal participants for dealId:', dealId, error);
|
||||||
throw new Error('Database error while fetching deal participants');
|
throw new Error('Database error while fetching deal participants');
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
LAST_ROUTE=auth.js
|
LAST_ROUTE=contacts.js
|
||||||
UPDATED_AT=2026-03-06T21:32:06Z
|
UPDATED_AT=2026-03-06T21:33:06Z
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue