Open
Description
Currently in Kadira we get lots of exceptions that look like this:
[client] Exception in tempalte helper:
As there is no more detail they all get grouped together which can be painful to wade through.
One simple update we could make in Blaze is to pass the name of the helper function to _wrapCatchingException (in lookup.js) so
return Blaze._wrapCatchingExceptions(f, 'template helper').apply(self, args);
Would be instead something like
return Blaze._wrapCatchingExceptions(f, `template helper ${templateFunc.name}`).apply(self, args);
It would be even better if we passed the actual template name into wrapHelper and then we could report that too meaning a unique grouping by template name and helper in Kadira or whatever other error handling program someone is using.
I'm happy to make the PR if whoever monitors this agrees 😃