The problem is that it swallows crashes leading to really unexpected application states.
Let’s say you call a function like this from swift:
public fun launchCrash() {
GlobalScope.launch {
throw AssertionError("Let's die")
}
}
If you do not have the kermit crash hook installed, it kills your process. If you have the kermit crash hook installed, it will log an error but the application won’t crash.
That’s a really bad sideffect
https://kotlinlang.slack.com/archives/CTJB58X7X/p1655287237689619
The problem is that it swallows crashes leading to really unexpected application states. Let’s say you call a function like this from swift:
If you do not have the kermit crash hook installed, it kills your process. If you have the kermit crash hook installed, it will log an error but the application won’t crash. That’s a really bad sideffect