chore: log whatsapp identity on start

This commit is contained in:
Peter Steinberger
2025-12-23 12:45:18 +00:00
parent facfd64787
commit ea4b3b74bb

View File

@@ -1446,7 +1446,13 @@ export async function startGatewayServer(
logWhatsApp.info("skipping provider start (no linked session)");
return;
}
logWhatsApp.info("starting provider");
const { e164, jid } = readWebSelfId();
const identity = e164
? e164
: jid
? `jid ${jid}`
: "unknown";
logWhatsApp.info(`starting provider (${identity})`);
whatsappAbort = new AbortController();
whatsappRuntime = {
...whatsappRuntime,