1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-03 23:29:33 +00:00

replace warning about two bots from LongPolling to DefaultKtorRequestsExecutor

This commit is contained in:
2023-11-26 13:37:49 +06:00
parent 74f625a53a
commit ca7314923e
3 changed files with 12 additions and 9 deletions

View File

@@ -114,9 +114,6 @@ fun TelegramBot.longPollingFlow(
if (e is RequestException) {
delay(1000L)
}
if (e is GetUpdatesConflict && (exceptionsHandler == null || exceptionsHandler == defaultSafelyExceptionHandler)) {
println("Warning!!! Other bot with the same bot token requests updates with getUpdate in parallel")
}
}
) {
execute(