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
If passed fn for did-insert is not an function, it's literally udebuggable across application (there is no mentions of key name, component name, closest dom node and such)
The text was updated successfully, but these errors were encountered:
<div{{did-insertundefined}}
^ Expected value to be a function, instead received "undefined"
This error occurred in: "path/to/file" on line #, column #.
And was encountered while rendering:
<ComponentA>
<ComponentB>
<ThisComponnent> <- this component
?
I think there are apis for getting the component stack? I forget what they are though?
maybe @rwjblue remembers ;)
lifeart
changed the title
improve debugging messages
improve debugging possibilities of error messages
Oct 6, 2021
gnclmorais
added a commit
to gnclmorais/ember-render-modifiers
that referenced
this issue
Oct 12, 2021
When the passed `fn` to the helper is not a function, this commit
improves the error message users will see, hopefully helping with
the debugging process.
Fixesemberjs#23
If passed fn for
did-insert
is not an function, it's literally udebuggable across application (there is no mentions of key name, component name, closest dom node and such)The text was updated successfully, but these errors were encountered: