summaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/fsm/fsm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/fsm/fsm.go b/internal/fsm/fsm.go
index 6c8923b..18c26ca 100644
--- a/internal/fsm/fsm.go
+++ b/internal/fsm/fsm.go
@@ -113,7 +113,7 @@ func (fsm *FSM) CheckTransition(desired StateID) error {
return nil
}
}
- return errors.Errorf("fsm invalid transition attempt from '%v' to '%v'", fsm.Current, desired)
+ return errors.Errorf("fsm invalid transition attempt from '%s' to '%s'", fsm.GetStateName(fsm.Current), fsm.GetStateName(desired))
}
// graphFilename gets the full path to the graph filename including the .graph extension.