summaryrefslogtreecommitdiff
path: root/client/proxy.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-05-31 11:35:43 +0200
committerJeroen Wijenbergh <46386452+jwijenbergh@users.noreply.github.com>2024-05-31 11:40:23 +0200
commitc1a6d03bb4c5f739c388e4b57836e8ebac27a204 (patch)
tree8b0555ecd1b05dc28d2e33cee8131f32bfcb2326 /client/proxy.go
parent92eea4ae9f1d47f2ac1ba7d70e00032ffb9f3a12 (diff)
Client: Move a lot of errors to internal only
Diffstat (limited to 'client/proxy.go')
-rw-r--r--client/proxy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/proxy.go b/client/proxy.go
index 849b524..b39af32 100644
--- a/client/proxy.go
+++ b/client/proxy.go
@@ -116,7 +116,7 @@ func (c *Client) StartProxyguard(ck *cookie.Cookie, listen string, tcpsp int, pe
defer c.proxy.Delete()
err = c.proxy.Tunnel(ck.Context(), peer)
if err != nil {
- return i18nerr.Wrap(err, "The VPN proxy exited")
+ return i18nerr.WrapInternal(err, "The VPN proxy exited")
}
return err
}