Skip to content

Commit

Permalink
#143 Add to import error messages if we attempt to add a property to …
Browse files Browse the repository at this point in the history
…content, when it doesn't exist.
  • Loading branch information
Kevin Jump committed Jul 16, 2020
1 parent 96260bd commit 0f6aae2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions uSync8.ContentEdition/Serializers/ContentSerializerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -487,6 +487,7 @@ protected Attempt<TObject, String> DeserializeProperties(TObject item, XElement
else
{
logger.Warn(serializerType, "DeserializeProperties: item {Name} doesn't have property {alias} but its in the xml", item.Name, alias);
errors += $"Item {Name} doesn't contain {alias}";
}
}

Expand Down

0 comments on commit 0f6aae2

Please sign in to comment.