Ignore any unreadable property in Reconciler:diff (#848)

This commit is contained in:
Kenneth Loeffler
2024-02-01 13:05:44 -08:00
committed by GitHub
parent df707d5bef
commit 7abf19804c
2 changed files with 3 additions and 3 deletions

View File

@@ -177,10 +177,8 @@ local function diff(instanceMap, virtualInstances, rootId)
if err.kind == Error.UnknownProperty then
Log.trace("Skipping unknown property {}.{}", err.details.className, err.details.propertyName)
elseif err.kind == Error.UnreadableProperty then
Log.trace("Skipping unreadable property {}.{}", err.details.className, err.details.propertyName)
else
return false, err
Log.trace("Skipping unreadable property {}.{}", err.details.className, err.details.propertyName)
end
end
end