6 lines
139 B
JavaScript
6 lines
139 B
JavaScript
process.on('uncaughtException', function (err) {
|
|
process.send(err.message);
|
|
});
|
|
|
|
const echo = require('echo');
|
|
process.send(echo('ok'));
|