CoroutineScope(SupervisorJob()) stop launching after subsequent exceptions
After launching several functions in a CoroutineScope(SupervisorJob()) that throws exceptions :
The sentence CoroutineScope(SupervisorJob()).launch {Log.v("John","Doe")} won't execute.
For example :
fun everySecond(){
CoroutineScope(SupervisorJob()).launch {
Log.v("John", "Doe") //After 5 exceptions this part is not reached
try{
aFunctionThatMayThrow5timesOrMore() //I use exceptions as logic back-off
} catch(e:Exception){
Log.e("John", "Doe...