mirror of
https://github.com/zhigang1992/mtcute.git
synced 2026-04-29 12:45:07 +08:00
chore(core): added method name to the flood wait log line
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user