Commit Graph

9 Commits

Author SHA1 Message Date
David Glasser
8aa63bcb3a Cleanups for PR 1263:
- Display proper caller location (requires extending useMyCaller to take a
  number)

- Recover by only returning valid 'where's so we don't crash later.
2013-08-01 00:29:14 -07:00
David Glasser
62626bf33d Set $METEOR_DEBUG_BUILD to see what jobs are run. 2013-07-30 11:15:15 -07:00
Geoff Schmidt
096a6efddd Improve stack parsing 2013-07-15 18:23:54 -07:00
David Glasser
3205e33537 using source maps in JSImage.load now probably works 2013-07-12 10:11:31 -07:00
David Glasser
177a5684c9 checkpoint for using source maps in jsimage.load
syntax error parsing is broken, will fix
2013-07-12 10:11:31 -07:00
David Glasser
12a93615cf Make buildmessage parseStack more robust to multi-line errors.
This makes Handlebars parse errors not crash.
2013-07-02 19:50:38 -07:00
Geoff Schmidt
0b2d536e38 Clean up error reporting in HTML template scanner 2013-05-13 11:56:51 -07:00
Geoff Schmidt
27b617ce92 correctly report error messages when exceptions occur that could be handled by buildmessage but are not 2013-05-13 11:55:12 -07:00
Geoff Schmidt
ed18c6ffb5 Comprehensive build-time error reporting system. In particular: if an error occurs, the build will try to continue to identify any other potential problems so that they can be flagged too. Syntax errors are captured and dealt with programmatically, rather than just being echoed to stderr by node. Stack traces are parsed to pull out file and line information, and a distinction is made between the 'user' and 'internal' portions of the stack. All of this is at build time only -- it has not been extended to (run-time) server or browser yet. Also, no source maps yet, though line numbers are computed correctly for units within the linker. 2013-05-13 11:52:43 -07:00