diff options
author | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-15 23:49:27 +0200 |
---|---|---|
committer | Jukka Jylänki <jujjyl@gmail.com> | 2013-11-15 23:57:28 +0200 |
commit | fffe30f57456015e983f901dffa1364059e4bc49 (patch) | |
tree | 3ae2abd15c8433d4a2815464a317760e69a3ac76 /tools/shared.py | |
parent | fc97a98e22712ebc9ba2d0c7b44c8ec8321fb5bd (diff) |
Never throw uncaught exceptions out from compiler.js, but just report the exception message to stderr. Fixes other.test_warn_undefined on Windows, which would fail if Python spawned node.js in the case where it printed stderr and terminated to an uncaught exception, leaving unflushed data to stderr, and not all unresolved symbol errors were printed to console. Node.js stderr does not have a flush() mechanism, so must gracefully terminate the execution instead.
Diffstat (limited to 'tools/shared.py')
0 files changed, 0 insertions, 0 deletions