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;
|
||||
} catch (error) {
|
||||
console.error('Database error while fetching deal participants for dealId:', dealId, error);
|
||||
throw new Error('Database error while fetching deal participants');
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue