From 513f10ab4fa8ba1622ba2ba841adec843b211113 Mon Sep 17 00:00:00 2001 From: silverpill Date: Tue, 12 Apr 2022 18:34:01 +0000 Subject: [PATCH] Write warning to log when encountering unexpected actor property type --- src/activitypub/actor.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/activitypub/actor.rs b/src/activitypub/actor.rs index 92f2658..ccd54b8 100644 --- a/src/activitypub/actor.rs +++ b/src/activitypub/actor.rs @@ -103,6 +103,10 @@ impl Actor { if let Some(properties) = &self.attachment { for property in properties { if property.object_type != PROPERTY_VALUE { + log::warn!( + "ignoring actor property of type {}", + property.object_type, + ); continue; }; if let Some(property_value) = &property.value {