mirror of
https://github.com/corda/corda.git
synced 2025-05-23 18:54:14 +00:00
CORDA-2689 Remove annoying ProgressTracker warning. (#4970)
This commit is contained in:
parent
e0f19ca70b
commit
24f63b2e64
@ -468,7 +468,7 @@ abstract class FlowLogic<out T> {
|
|||||||
val theirs = subLogic.progressTracker
|
val theirs = subLogic.progressTracker
|
||||||
if (ours != null && theirs != null && ours != theirs) {
|
if (ours != null && theirs != null && ours != theirs) {
|
||||||
if (ours.currentStep == ProgressTracker.UNSTARTED) {
|
if (ours.currentStep == ProgressTracker.UNSTARTED) {
|
||||||
logger.warn("ProgressTracker has not been started")
|
logger.debug { "Initializing the progress tracker for flow: ${this::class.java.name}." }
|
||||||
ours.nextStep()
|
ours.nextStep()
|
||||||
}
|
}
|
||||||
ours.setChildProgressTracker(ours.currentStep, theirs)
|
ours.setChildProgressTracker(ours.currentStep, theirs)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user