projects
/
kraftakt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0eaa8
)
Log notification payloads to debug logs.
author
Florian Forster
<ff@octo.it>
Tue, 30 Jan 2018 19:45:32 +0000
(20:45 +0100)
committer
Florian Forster
<ff@octo.it>
Tue, 30 Jan 2018 19:45:32 +0000
(20:45 +0100)
kraftakt.go
patch
|
blob
|
history
diff --git
a/kraftakt.go
b/kraftakt.go
index
e84b03a
..
f6b3d9c
100644
(file)
--- a/
kraftakt.go
+++ b/
kraftakt.go
@@
-287,6
+287,8
@@
func fitbitNotifyHandler(ctx context.Context, w http.ResponseWriter, r *http.Req
// handleNotifications parses fitbit notifications and requests the individual
// activities from Fitbit. It is executed asynchronously via the delay package.
func handleNotifications(ctx context.Context, payload []byte) error {
+ log.Debugf(ctx, "NOTIFY -> %s", payload)
+
if err := app.LoadConfig(ctx); err != nil {
return err
}