Try and fix macOS build, report actial error on catch

This commit is contained in:
Alex Hultman 2018-11-05 02:22:20 +01:00
parent 9775ad1c9d
commit 5f7347d3c9
2 changed files with 7 additions and 3 deletions

2
dist/uws.js vendored
View file

@ -5,6 +5,6 @@ module.exports = (() => {
process.nextTick = (f, ...args) => uWS.nextTick(f.apply(...args));
return uWS;
} catch (e) {
throw new Error('This version of µWS is not compatible with your Node.js build.');
throw new Error('This version of µWS is not compatible with your Node.js build.\n\n' + e.toString());
}
})();