AddError is no longer suspending
This commit is contained in:
parent
ce311fea86
commit
e2b5f522e0
|
@ -203,7 +203,7 @@ internal class AeronDriverInternal(endPoint: EndPoint<*>?, private val config: C
|
|||
}
|
||||
|
||||
|
||||
suspend fun addError(function: Throwable.() -> Unit) {
|
||||
fun addError(function: Throwable.() -> Unit) = runBlocking {
|
||||
// always add this to the global one
|
||||
onError(function)
|
||||
|
||||
|
|
Loading…
Reference in New Issue