Rodrigo Silva
01/13/2023, 7:55 PMException in thread "main" kotlinx.coroutines.CoroutinesInternalError: Fatal exception in coroutines machinery for DispatchedContinuation[BlockingEventLoop@7ca48474, Continuation at org.jetbrains.exposed.sql.transactions.experimental.SuspendedKt$suspendedTransactionAsyncInternal$1.invokeSuspend(Suspended.kt)@59f99ea]. Please read KDoc to 'handleFatalException' method and report this incident to maintainers
Rodrigo Silva
01/13/2023, 7:58 PMclass Test() {
suspend fun testing() : Result<Any> = newSuspendedTransaction {
runCatching {
/// some code
}.onFailure {
// some code
}
}
fun main(args: Array<String>) {
runBlocking {
Test().testing()
}
}