write uncaught exception to console

This commit is contained in:
Jan Prochazka 2024-05-15 18:56:52 +02:00
parent c2abc83f99
commit 7324cef87a

View File

@ -27,6 +27,10 @@ let mainModule;
// let getLogger;
// let loadLogsContent;
process.on('uncaughtException', function (error) {
console.error('uncaughtException', error);
});
const isMac = () => os.platform() == 'darwin';
// unhandled({