chore(connect): improve messaging if tofu token already used (#3602)
This commit is contained in:
1 parent
ee6803d106
commit
df1e64f412
1 file changed
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user