chore: log when encountered unexpected connection close

This commit is contained in:
Adhiraj Singh
2022-03-24 10:14:23 +05:30
parent ba3cbd476e
commit 4bfb0e1343

View File

@@ -370,6 +370,8 @@ export const makeMessagesRecvSocket = (config: SocketConfig) => {
if(retryRequestDelayMs) {
await delay(retryRequestDelayMs)
}
} else {
logger.debug({ stanza }, 'connection closed, ignoring retry req')
}
}
)