Skip to content

Commit

Permalink
Ignore any unreadable property in Reconciler:diff (rojo-rbx#848)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethloeffler committed Feb 1, 2024
1 parent 9bc7d90 commit 712a357
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Rojo Changelog

## Unreleased Changes
* Fixed Rojo plugin failing to connect when project contains certain unreadable properties ([#848])

[#848]: https://github.com/rojo-rbx/rojo/pull/848

## [7.4.0] - January 16, 2024
* Improved the visualization for array properties like Tags ([#829])
Expand Down
4 changes: 1 addition & 3 deletions plugin/src/Reconciler/diff.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 712a357

Please sign in to comment.