chore(core): added method name to the flood wait log line

This commit is contained in:
alina 🌸 2024-06-06 18:49:38 +03:00
parent fa4b36d93f
commit ea70246348
Signed by: teidesu
SSH key fingerprint: SHA256:uNeCpw6aTSU4aIObXLvHfLkDa82HWH9EiOj9AXOIRpI

View file

@ -808,7 +808,7 @@ export class NetworkManager {
}
if (e.seconds <= floodSleepThreshold) {
this._log.info('Flood wait for %d seconds', e.seconds)
this._log.info('Flood wait for %d seconds (because of %s)', e.seconds, message._)
await sleep(e.seconds * 1000)
continue
}