mirror of
https://github.com/corda/corda.git
synced 2025-06-05 09:00:53 +00:00
parent
5efea22a9b
commit
3a247f2966
@ -182,6 +182,8 @@ class ProgressTracker(vararg steps: Step) {
|
|||||||
fun endWithError(error: Throwable) {
|
fun endWithError(error: Throwable) {
|
||||||
check(!hasEnded) { "Progress tracker has already ended" }
|
check(!hasEnded) { "Progress tracker has already ended" }
|
||||||
_changes.onError(error)
|
_changes.onError(error)
|
||||||
|
_stepsTreeIndexChanges.onError(error)
|
||||||
|
_stepsTreeChanges.onError(error)
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The parent of this tracker: set automatically by the parent when a tracker is added as a child */
|
/** The parent of this tracker: set automatically by the parent when a tracker is added as a child */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user