summaryrefslogtreecommitdiff
path: root/client/server.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2022-12-20 15:54:57 +0100
committerjwijenbergh <jeroenwijenbergh@protonmail.com>2022-12-21 18:28:52 +0100
commitfeb5a34fcaefd30c764bd9aa9192f42c5a11b578 (patch)
treebbf47f6cf9805d05d3eab60eef308a923b8f88c5 /client/server.go
parent12838c19514459974cf0a71c42f1248b1cb9419c (diff)
Linting: Fix config arguments and results + comments
Diffstat (limited to 'client/server.go')
-rw-r--r--client/server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/server.go b/client/server.go
index 0bb37a8..27cb79b 100644
--- a/client/server.go
+++ b/client/server.go
@@ -86,8 +86,8 @@ func (c *Client) getConfig(srv server.Server, preferTCP bool, t oauth.Token) (*C
// Save the config
if err = c.Config.Save(&c); err != nil {
- //TODO(jwijenbergh): Not sure why INFO level, yet stacktrace...
- //TODO(jwijenbergh): Even worse, why logging it but then return nil? The calling code will think that everything went well.
+ // TODO(jwijenbergh): Not sure why INFO level, yet stacktrace...
+ // TODO(jwijenbergh): Even worse, why logging it but then return nil? The calling code will think that everything went well.
c.Logger.Infof("c.Config.Save failed: %s\nstacktrace:\n%s",
err.Error(), err.(*errors.Error).ErrorStack())
}