1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-22 08:13:47 +00:00

potential fix of exception printing on skipping of timeout exceptions

This commit is contained in:
InsanusMokrassar 2023-05-01 01:52:24 +06:00
parent 631f1b9427
commit 20278804bf

View File

@ -14,7 +14,6 @@ object ExceptionsOnlyLimiter : RequestLimiter {
result = runCatchingSafely {
block()
}.onFailure {
it.printStackTrace()
if (it is TooMuchRequestsException) {
delay(it.retryAfter.leftToRetry)
} else {