We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c201c74 commit 2a81bfaCopy full SHA for 2a81bfa
1 file changed
lib/wrap.js
@@ -39,8 +39,8 @@ if (cfg.fork) {
39
40
// Error handler that displays a notification and logs the stack to stderr:
41
process.on('uncaughtException', function(err) {
42
- ipc.send({error: err.name, message: err.message})
43
console.error(err.stack || err)
+ ipc.send({ error: err.name || 'Error' , message: err.message })
44
})
45
46
// Hook into require() and notify the parent process about required files
0 commit comments