mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 12:13:57 +00:00
write uncaught exception to console
This commit is contained in:
parent
c2abc83f99
commit
7324cef87a
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user