mirror of https://github.com/status-im/metro.git
0e8f6e4ed3
Summary: @public We swallow errors like it's nobody's business :( Having an error handler that `reject`s after the promise has been resolved is a no-op. In node, if there is no `error` event handler then the error would throw. So after we start listening and we want to resolve the promise, we remove the error listener so that we make sure errors actually throw. Finally, I made the `uncaughtError` handler log `error.stack` so we can get an idea of what's going on. Reviewed By: @martinbigio Differential Revision: D2468472 |
||
---|---|---|
.. | ||
__mocks__ | ||
src | ||
.babelrc | ||
.npmignore | ||
index.js |