chore: log whatsapp identity on start
This commit is contained in:
@@ -1446,7 +1446,13 @@ export async function startGatewayServer(
|
|||||||
logWhatsApp.info("skipping provider start (no linked session)");
|
logWhatsApp.info("skipping provider start (no linked session)");
|
||||||
return;
|
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();
|
whatsappAbort = new AbortController();
|
||||||
whatsappRuntime = {
|
whatsappRuntime = {
|
||||||
...whatsappRuntime,
|
...whatsappRuntime,
|
||||||
|
|||||||
Reference in New Issue
Block a user