meteor / meteor/blaze

Template exceptions are using console.log not console.error

Open
#314 11 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

  • #368 by @jankapunkt — closed without merging
good-first-issue ready
Dominant language
JavaScript
Stars
543
Forks
117
Avg merge
6h 18m
Merged PRs (30d)
2

Description

We dont see template exceptions bubble up into our unhandled exception handler (Sentry) because Blaze catches them and reports to console as info, instead of as error.

![image](https://user-images.githubusercontent.com/85821/102271783-bb0e3400-3f17-11eb-84ec-a57fadcedd16.png)

![image](https://user-images.githubusercontent.com/85821/102271801-c06b7e80-3f17-11eb-86a8-230f5bf4c34d.png)

Equally what if I want my app to fail fast on any template error instead of continuing in a broken state? This is not possible because blaze doesn't have option to rethrow/bubble up unhandled?

We're using Meteor 1.10.1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the template exception behavior with Meteor 1.10.1 and trace how Blaze reports caught template errors. Review the existing discussion and closed pull request #368 before deciding what behavior remains; done should include error-level reporting and a clear outcome for bubbling or rethrowing unhandled template exceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.