[marketplace] fix ci issue with chronicles output
This commit is contained in:
parent
e83c32aee0
commit
18e7240b61
|
@ -110,7 +110,7 @@ method exit(state: AsyncState) =
|
|||
|
||||
proc switchAsync*(machine: StateMachineAsync, newState: AsyncState) {.async.} =
|
||||
if state =? (machine.state as AsyncState):
|
||||
trace "Switching sales state", `from`=state, to=newState
|
||||
trace "Switching sales state", `from` = $state, to = $newState
|
||||
if activeTransition =? state.activeTransition and
|
||||
not activeTransition.completed:
|
||||
await activeTransition.cancelAndWait()
|
||||
|
@ -119,7 +119,7 @@ proc switchAsync*(machine: StateMachineAsync, newState: AsyncState) {.async.} =
|
|||
await state.exitAsync()
|
||||
state.context = none StateMachine
|
||||
else:
|
||||
trace "Switching sales state", `from`="no state", to=newState
|
||||
trace "Switching sales state", `from` = "no state", to = $newState
|
||||
|
||||
machine.state = some State(newState)
|
||||
newState.context = some StateMachine(machine)
|
||||
|
|
Loading…
Reference in New Issue