diff options
Diffstat (limited to 'client')
| -rw-r--r-- | client/client.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/client.go b/client/client.go index ed1f673..2e89fee 100644 --- a/client/client.go +++ b/client/client.go @@ -512,16 +512,16 @@ func (c *Client) GetConfig(ck *cookie.Cookie, identifier string, _type srvtypes. if err != nil { if startup { if errors.Is(err, eduvpnapi.ErrAuthorizeDisabled) { - return nil, i18nerr.Newf("The client tried to autoconnect to the VPN server: '%s', but you need to authorize again. Please manually connect again.", identifier) + return nil, i18nerr.New("The client tried to autoconnect to the server, but you need to authorize again. Please manually connect again.") } - return nil, i18nerr.Wrapf(err, "The client tried to autoconnect to the VPN server: '%s', but the operation failed to complete", identifier) + return nil, i18nerr.Wrap(err, "The client tried to autoconnect to the server, but the operation failed to complete") } - return nil, i18nerr.Wrapf(err, "Failed to connect to server: '%s'", identifier) + return nil, i18nerr.Wrap(err, "Failed to connect to server") } cfg, err = c.Servers.ConnectWithCallbacks(ck.Context(), srv, pTCP) if err != nil { - return nil, i18nerr.Wrapf(err, "Failed to obtain a VPN configuration for server: '%s'", identifier) + return nil, i18nerr.Wrap(err, "Failed to obtain a VPN configuration for the server") } return cfg, nil } |
