Adriano Celentano
09/17/2019, 7:54 AMval trace = Thread.currentThread().stackTrace
val handler = CoroutineExceptionHandler { _, throwable ->
throwable.stackTrace += trace
result(Result.failure(throwable))
}
gildor
09/17/2019, 7:56 AMAdriano Celentano
09/17/2019, 8:18 AMAdriano Celentano
09/17/2019, 8:21 AMgildor
09/17/2019, 8:23 AMgildor
09/17/2019, 8:24 AMOverhead of this feature is negligible and it can be safely turned on by default to simplify logging and diagnostic.
gildor
09/17/2019, 8:25 AMAdriano Celentano
09/17/2019, 8:50 AM