diff --git a/internal/cmd/commands/connect/connect.go b/internal/cmd/commands/connect/connect.go index d7a166298d..f29396affd 100644 --- a/internal/cmd/commands/connect/connect.go +++ b/internal/cmd/commands/connect/connect.go @@ -758,7 +758,7 @@ func (c *Command) runTcpProxyV1( case strings.Contains(err.Error(), "tofu token not allowed"): // Nothing will be able to be done here, so cancel the context too c.proxyCancel() - return errors.New("Session is already in use") + return errors.New("Session token has already been used") default: return fmt.Errorf("error reading handshake result: %w", err) }