Skip to content

Commit e76dfa4

Browse files
committed
fix(pr-feedback): log error when failing to fetch LID for WUID
1 parent 2a2f49f commit e76dfa4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2064,7 +2064,8 @@ export class BaileysStartupService extends ChannelStartupService {
20642064
try {
20652065
const lid = await this.client.signalRepository.lidMapping.getLIDForPN(jid);
20662066
return { wuid: jid, lid: lid || null };
2067-
} catch {
2067+
} catch (error) {
2068+
console.error(`Failed to fetch LID for ${jid}:`, error);
20682069
return { wuid: jid, lid: null };
20692070
}
20702071
}

0 commit comments

Comments
 (0)