chore(core): improved flood_wait log message

This commit is contained in:
alina 🌸 2024-06-24 23:33:20 +03:00
parent 34016f849b
commit 93c44412e6
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 (because of %s)', e.seconds, message._)
this._log.warn('%s resulted in a flood wait, will retry in %d seconds', message._, e.seconds)
await sleep(e.seconds * 1000)
continue
}