mirror of
https://github.com/corda/corda.git
synced 2025-02-20 17:33:15 +00:00
parent
5efea22a9b
commit
3a247f2966
@ -182,6 +182,8 @@ class ProgressTracker(vararg steps: Step) {
|
||||
fun endWithError(error: Throwable) {
|
||||
check(!hasEnded) { "Progress tracker has already ended" }
|
||||
_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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user