mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-05-01 16:43:59 +00:00
log
This commit is contained in:
@@ -9,7 +9,7 @@ const platformInfo = require('./utility/platformInfo');
|
|||||||
const logger = getLogger('apiIndex');
|
const logger = getLogger('apiIndex');
|
||||||
|
|
||||||
process.on('uncaughtException', err => {
|
process.on('uncaughtException', err => {
|
||||||
logger.fatal(extractErrorLogData(err), 'Uncaught exception');
|
logger.fatal(extractErrorLogData(err), 'Uncaught exception, exiting process');
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user