mirror of
https://github.com/FranP-code/Baileys.git
synced 2025-10-13 00:32:22 +00:00
chore: log when encountered unexpected connection close
This commit is contained in:
@@ -370,6 +370,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
|
||||
if(retryRequestDelayMs) {
|
||||
await delay(retryRequestDelayMs)
|
||||
}
|
||||
} else {
|
||||
logger.debug({ stanza }, 'connection closed, ignoring retry req')
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user