We’ve had several crash reports mention unhandled OkHttp exceptions (
SocketTimeoutException
,
ConnectTimeoutException
) for our KMM Android app using Ktor client 2.1.2 and the OkHttp engine factory. Is it intentional that engine exceptions aren’t caught (have I misunderstood something 😅), or is this actually a Ktor bug?
✅ 1
j
jw
10/27/2022, 6:04 PM
Those sounds like normal
IOException
subtypes that you would expect to see at the call site if the network is unreliable/unavailable.