9 lines
251 B
JavaScript
9 lines
251 B
JavaScript
process.on('uncaughtException', function(error) {
|
|
console.error('uncaughtException:');
|
|
if (error.stack)
|
|
console.error(error.stack);
|
|
else
|
|
console.error(error.name + ': ' + error.message);
|
|
});
|
|
|
|
console.log(process.atom_binding('window'));
|