Write warning to log when encountering unexpected actor property type

This commit is contained in:
silverpill 2022-04-12 18:34:01 +00:00
parent f914702de9
commit 513f10ab4f

View file

@ -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 {