From: Florian Forster Date: Sun, 28 Jan 2018 19:56:28 +0000 (+0100) Subject: Warn about unexpected notification types. X-Git-Url: https://git.octo.it/?p=kraftakt.git;a=commitdiff_plain;h=f1acb1c2891ade2daa46e6e0f5fbafc1d7d6dd05 Warn about unexpected notification types. --- diff --git a/gfitsync.go b/gfitsync.go index 2c9a54b..9eadde9 100644 --- a/gfitsync.go +++ b/gfitsync.go @@ -209,6 +209,7 @@ func handleNotifications(ctx context.Context, payload []byte) error { for _, s := range subscriptions { if s.CollectionType != "activities" { + log.Warningf(ctx, "ignoring collection type %q", s.CollectionType) continue }