diff options
Diffstat (limited to 'client/fsm.go')
| -rw-r--r-- | client/fsm.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/fsm.go b/client/fsm.go index d22f947..6fffc8a 100644 --- a/client/fsm.go +++ b/client/fsm.go @@ -2,10 +2,10 @@ package client import ( "fmt" + "log/slog" "codeberg.org/eduVPN/eduvpn-common/i18nerr" "codeberg.org/eduVPN/eduvpn-common/internal/fsm" - "codeberg.org/eduVPN/eduvpn-common/internal/log" ) type ( @@ -182,7 +182,7 @@ func (c *Client) SetState(state FSMStateID) error { if err != nil { // self-transitions are only debug errors if c.FSM.InState(state) { - log.Logger.Debugf("attempt an invalid self-transition: %s", c.FSM.GetStateName(state)) + slog.Debug("attempt at an invalid self-transition", "transition", c.FSM.GetStateName(state)) return nil } return i18nerr.WrapInternalf(err, "Failed internal state transition requested by the client from: '%s' to '%s'", GetStateName(curr), GetStateName(state)) |
