diff --git a/plugin/src/Reconciler/applyPatch.lua b/plugin/src/Reconciler/applyPatch.lua index 345a3bf7..4ecf3e1f 100644 --- a/plugin/src/Reconciler/applyPatch.lua +++ b/plugin/src/Reconciler/applyPatch.lua @@ -63,7 +63,7 @@ local function applyPatch(instanceMap, patch) local failedToReify = reify(instanceMap, patch.added, id, parentInstance) if not PatchSet.isEmpty(failedToReify) then - Log.debug("Failed to reify as part of applying a patch: {}", failedToReify) + Log.debug("Failed to reify as part of applying a patch: {:#?}", failedToReify) PatchSet.assign(unappliedPatch, failedToReify) end end diff --git a/plugin/src/Reconciler/diff.lua b/plugin/src/Reconciler/diff.lua index 14e04fb8..e4cb7d88 100644 --- a/plugin/src/Reconciler/diff.lua +++ b/plugin/src/Reconciler/diff.lua @@ -75,9 +75,13 @@ local function diff(instanceMap, virtualInstances, rootId) changedProperties[propertyName] = virtualValue end else - -- virtualValue can be empty in certain cases, and this may print out nil to the user. local propertyType = next(virtualValue) - Log.warn("Failed to decode property of type {}", propertyType) + Log.warn( + "Failed to decode property {}.{}. Encoded property was: {:#?}", + virtualInstance.ClassName, + propertyName, + virtualValue + ) end else local err = existingValueOrErr