projects
/
kraftakt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1acb1c
)
Package gfit: Improve Create error message.
author
Florian Forster
<ff@octo.it>
Sun, 28 Jan 2018 19:56:59 +0000
(20:56 +0100)
committer
Florian Forster
<ff@octo.it>
Sun, 28 Jan 2018 19:56:59 +0000
(20:56 +0100)
gfit/gfit.go
patch
|
blob
|
history
diff --git
a/gfit/gfit.go
b/gfit/gfit.go
index
d1aacb6
..
227f463
100644
(file)
--- 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