Skip to content

Commit fc308bc

Browse files
committed
Fixed OnInit error state
1 parent c70da0b commit fc308bc

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ private class OnInitContextImpl(
184184
}
185185

186186
override fun onError(error: Throwable) {
187-
source.onError(error)
187+
errors.replace { plus(error) }
188188
}
189189
}
190190

0 commit comments

Comments
 (0)