Skip to content

Commit c70da0b

Browse files
committed
Fixed OnInit error delegation
1 parent 2a49b1d commit c70da0b

File tree

1 file changed

+4
-0
lines changed
  • reactivestate-core/src/commonMain/kotlin/com/ensody/reactivestate

1 file changed

+4
-0
lines changed

reactivestate-core/src/commonMain/kotlin/com/ensody/reactivestate/OnInit.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ private class OnInitContextImpl(
182182
}
183183
}
184184
}
185+
186+
override fun onError(error: Throwable) {
187+
source.onError(error)
188+
}
185189
}
186190

187191
suspend fun process() {

0 commit comments

Comments
 (0)