AddError is no longer suspending

This commit is contained in:
Robinson 2023-08-09 21:47:29 -06:00
parent ce311fea86
commit e2b5f522e0
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 1 additions and 1 deletions

View File

@ -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)