mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
potential fix of exception printing on skipping of timeout exceptions
This commit is contained in:
1 parent
631f1b9427
commit
20278804bf
1 file changed
-1
-1
@@ -14,7 +14,6 @@ object ExceptionsOnlyLimiter : RequestLimiter {
|
||||
result = runCatchingSafely {
|
||||
block()
|
||||
}.onFailure {
|
||||
it.printStackTrace()
|
||||
if (it is TooMuchRequestsException) {
|
||||
delay(it.retryAfter.leftToRetry)
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user