From 18e7240b6162704200788608ee7435227b3d3651 Mon Sep 17 00:00:00 2001 From: Eric Mastro Date: Fri, 11 Nov 2022 14:51:25 +1100 Subject: [PATCH] [marketplace] fix ci issue with chronicles output --- codex/utils/statemachine.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex/utils/statemachine.nim b/codex/utils/statemachine.nim index 8f5050bb..bd7b7638 100644 --- a/codex/utils/statemachine.nim +++ b/codex/utils/statemachine.nim @@ -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)