mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
fix of #1002
This commit is contained in:
1 parent
4117288b21
commit
da4cd527ec
3 files changed
+4
-2
No files matched your search
+1
-1
@@ -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