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 {
|
if let Some(properties) = &self.attachment {
|
||||||
for property in properties {
|
for property in properties {
|
||||||
if property.object_type != PROPERTY_VALUE {
|
if property.object_type != PROPERTY_VALUE {
|
||||||
|
log::warn!(
|
||||||
|
"ignoring actor property of type {}",
|
||||||
|
property.object_type,
|
||||||
|
);
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
if let Some(property_value) = &property.value {
|
if let Some(property_value) = &property.value {
|
||||||
|
|
Loading…
Reference in a new issue