1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-07 14:55:55 +00:00
This commit is contained in:
2025-09-10 15:45:45 +06:00
parent 4117288b21
commit da4cd527ec
3 changed files with 4 additions and 2 deletions

View File

@@ -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(