Closed AL-Session closed 1 month ago
In the stack trace it doesn't go through ThreadUtil#queue
, but queue$lambda$0
the anonymous function, which is kind of a clue apparently, cause that's called asynchronously by ThreadPoolExecutor
at org.session.libsignal.utilities.ThreadUtils.queue$lambda$0 (ThreadUtils.kt:18)
Contributor checklist
Fixes #1234
syntaxDescription
Exceptions thrown from
HTTP.kt
have been causing crashes - specifically when the device is not connected to the network (HTTPNoNetworkConnection
) or if an operation failed due to a timeout (HTTPRequestFailedException
). This PR simply catches the exceptions and logs them in theThreadUtil.queue
functions to prevent a crash.