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:
@@ -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(
|
||||
|
Reference in New Issue
Block a user