Anyone know how to override the standard Java exce...
# multiplatform
m
Anyone know how to override the standard Java exception handler for a thread to crash everything instead of just printing the exception and continuing on? e.g.
Copy code
val t = Thread(myRunnable, "name...")
t.isDaemon = true
t.setUncaughtExceptionHandler { thread, t ->
    // This does not crash the program like I would like
    t?.let { throw it }
}
t.start()
⏸️ 1