mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-12-07 14:55:55 +00:00
fix of #1002
This commit is contained in:
@@ -84,7 +84,7 @@ class DefaultKtorRequestsExecutor internal constructor(
|
||||
|
||||
when (e) {
|
||||
is ClientRequestException -> {
|
||||
val exceptionResult = runCatching {
|
||||
val exceptionResult = runCatchingLogging(logger = Log) {
|
||||
val content = e.response.bodyAsText()
|
||||
val responseObject = jsonFormatter.decodeFromString(Response.serializer(), content)
|
||||
newRequestException(
|
||||
|
||||
Reference in New Issue
Block a user