Does `withContext` "swallow" exceptions like `laun...
# coroutines
d
Does
withContext
"swallow" exceptions like
launch
?
e
No. Launch does not swallow them anymore, either.
The difference is that withContext throw exception into surrounding code, while launch executes asynchronously so surrounding code is already doing something else
d
So where does the
launch
exception end up, if not in the surrounding code?
e
In the surrounding scope
Coroutine scope
d
Ok, thanks! Btw, when did all this change? 0.27.0?
So it's not in 0.30.0?
Just wondering, because code that "worked" in previous versions might suddenly crash unexpectedly with such a change...
e
0.26.0
­čĹŹ­čĆ╝ 1