diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-20 15:54:57 +0100 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-12-21 18:28:52 +0100 |
| commit | feb5a34fcaefd30c764bd9aa9192f42c5a11b578 (patch) | |
| tree | bbf47f6cf9805d05d3eab60eef308a923b8f88c5 /client/server.go | |
| parent | 12838c19514459974cf0a71c42f1248b1cb9419c (diff) | |
Linting: Fix config arguments and results + comments
Diffstat (limited to 'client/server.go')
| -rw-r--r-- | client/server.go | 4 |
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()) } |
