You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(transferred from the main Rojo repository because the issue turns out to be resolvable by rbx-dom, sorry for possible spam 😅)
When rbx_dom_lua's PropertyDescriptor:write fails to set a property, it creates an Error object containing contextual information that is used to generate warning messages:
The information currently included is good for knowing the reason why a property write failed. However, the constructed Error object (and by extension, warning messages derived from it) do not include the instance's full name, so it's not possible to tell on which instance the write was attempted using the message alone.
I think the error should include the instance's full name field and display it in messages, so property writes that fail have a relevant instance full name and may be easier to track down.
The text was updated successfully, but these errors were encountered:
(transferred from the main Rojo repository because the issue turns out to be resolvable by rbx-dom, sorry for possible spam 😅)
When rbx_dom_lua's
PropertyDescriptor:write
fails to set a property, it creates anError
object containing contextual information that is used to generate warning messages:rbx-dom/rbx_dom_lua/src/PropertyDescriptor.lua
Lines 76 to 84 in 6ccd30f
The information currently included is good for knowing the reason why a property write failed. However, the constructed
Error
object (and by extension, warning messages derived from it) do not include the instance's full name, so it's not possible to tell on which instance the write was attempted using the message alone.I think the error should include the instance's full name field and display it in messages, so property writes that fail have a relevant instance full name and may be easier to track down.
The text was updated successfully, but these errors were encountered: