WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
128794
jsc-cli handles uncaught Errors poorly
https://bugs.webkit.org/show_bug.cgi?id=128794
Summary
jsc-cli handles uncaught Errors poorly
Mark Hahnenberg
Reported
2014-02-13 19:44:20 PST
(1) Require a module (e.g. require('assert')) (2) Call a function that that module exports. (3) If the function throws an uncaught Error, we swallow it and do nothing. We should instead catch the Error at the top level, print some info about where it came from, and exit with error code.
Attachments
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug