From df1e64f412b98e303a839faef1cc18c482fffc25 Mon Sep 17 00:00:00 2001 From: Irena Rindos Date: Thu, 17 Aug 2023 08:59:17 -0400 Subject: [PATCH] chore(connect): improve messaging if tofu token already used (#3602) --- internal/cmd/commands/connect/connect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }