Write warning to log when encountering unexpected actor property type
This commit is contained in:
parent
f914702de9
commit
513f10ab4f
1 changed files with 4 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue