Warn about unexpected notification types.
[kraftakt.git] / gfitsync.go
index 2c9a54b..9eadde9 100644 (file)
@@ -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
                }