From: Florian Forster Date: Sun, 28 Jan 2018 19:56:59 +0000 (+0100) Subject: Package gfit: Improve Create error message. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=328226509977bc0f1f248f68d7285e112a5f8b0b;p=kraftakt.git Package gfit: Improve Create error message. --- diff --git a/gfit/gfit.go b/gfit/gfit.go index d1aacb6..227f463 100644 --- a/gfit/gfit.go +++ b/gfit/gfit.go @@ -120,7 +120,7 @@ func (c *Client) DataSourceCreate(ctx context.Context, dataSource *fitness.DataS } return DataStreamID(dataSource), nil } - log.Errorf(ctx, "c.Service.Users.DataSources.Create() = (%+v, %v)", res, err) + log.Errorf(ctx, "c.Service.Users.DataSources.Create(%q) = (%+v, %v)", dataSource, res, err) return "", err } return res.DataStreamId, nil