-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve {{#each}} errors logging #3312
Comments
Update: I don't get an actual exception; the console logs that an exception happened, but it is a message relayed by This doesn't change the need. |
Yes, you're right -- at the moment, it's very hard to figure out which line in your .html file triggers this error. It might be tricky to get this right so I don't see us resolving this very soon, but I'll leave this issue open so that we can track how frequently people hit it. |
I'm hitting this issue. It happened randomly. I have tried returning false in all of my helpers. |
Got around it, but not sure how. This is a hard one to debug. Just saying. |
just happened now; got this same issue. |
+1 faced this right now |
Getting this currently as well. |
I've migrated this over to meteor/blaze#184 and added a repro. Closing here - thanks! |
_1 Upvote_ If I pass a currently non-iterable variable to a Spacebars
{{#each}}
, I get the following exception:However, I have no hint as to which iterator failed. Even on a medium-sized app, it is extremely time-consuming to narrow down on the responsible template.
I expect the runtime to tell me the name of the template, and the line and column number of the failing iterator.
The text was updated successfully, but these errors were encountered: