Join Slack
Powered by
Hey folks. I stumbled upon this the hard way: <htt...
# ktor
n
Nikolay Kasyanov
02/15/2021, 8:23 AM
Hey folks. I stumbled upon this the hard way:
https://github.com/ktorio/ktor/blob/1.4.3/ktor-client/ktor-client-core/common/src/io/ktor/client/features/DefaultResponseValidation.kt
. Is there a good rationale behind making ktor response exceptions essentially inaccessible from other threads on iOS?
Nikolay Kasyanov
02/15/2021, 8:25 AM
Can’t responses be frozen?
Nikolay Kasyanov
02/15/2021, 8:26 AM
would it be possible to just use some placeholder message if response isn’t accsessible when the
request
property is read?
never mind, it’s not just exception message, but also the response object itself.
Nikolay Kasyanov
02/15/2021, 8:50 AM
I’d say it’s a pretty harsh limitation 😬
2
Views
Open in Slack
Previous
Next