summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/client.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/client.go b/client/client.go
index 07b35e6..f6c8279 100644
--- a/client/client.go
+++ b/client/client.go
@@ -337,8 +337,7 @@ func (c *Client) AddServer(ck *cookie.Cookie, identifier string, _type srvtypes.
// Convert to an identifier
identifier, err = http.EnsureValidURL(identifier, true)
if err != nil {
- // TODO: wrap error
- return err
+ return i18nerr.WrapInternalf(err, "failed to convert identifier: %v", identifier)
}
}