electron/browser/atom/atom.js

8 lines
205 B
JavaScript
Raw Normal View History

process.on('uncaughtException', function(error) {
console.error('uncaughtException:');
if (error.stack)
console.error(error.stack);
else
console.error(error.name + ': ' + error.message);
});