[marketplace] fix ci issue with chronicles output

This commit is contained in:
Eric Mastro 2022-11-11 14:51:25 +11:00 committed by Mark Spanbroek
parent dc534f93c7
commit e8f87e3f52
No known key found for this signature in database
GPG Key ID: FBE3E9548D427C00
1 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ method exit(state: AsyncState) =
proc switchAsync*(machine: StateMachineAsync, newState: AsyncState) {.async.} = proc switchAsync*(machine: StateMachineAsync, newState: AsyncState) {.async.} =
if state =? (machine.state as AsyncState): 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 if activeTransition =? state.activeTransition and
not activeTransition.completed: not activeTransition.completed:
await activeTransition.cancelAndWait() await activeTransition.cancelAndWait()
@ -119,7 +119,7 @@ proc switchAsync*(machine: StateMachineAsync, newState: AsyncState) {.async.} =
await state.exitAsync() await state.exitAsync()
state.context = none StateMachine state.context = none StateMachine
else: else:
trace "Switching sales state", `from`="no state", to=newState trace "Switching sales state", `from` = "no state", to = $newState
machine.state = some State(newState) machine.state = some State(newState)
newState.context = some StateMachine(machine) newState.context = some StateMachine(machine)