fix(server): update package lock, attempt to log crashes
This commit is contained in:
Generated
+5645
-5713
File diff suppressed because it is too large
Load Diff
@@ -33,5 +33,9 @@ if (CORES !== 0 && cluster.isMaster && (IS_DEV || IS_PROD)) {
|
||||
logger.info('[%s] [master:%s] worker:%s disconnect! new worker:%s fork', new Date(), process.pid, worker.process.pid, w.process.pid);
|
||||
});
|
||||
} else {
|
||||
module.exports = require('./server.js');
|
||||
try {
|
||||
module.exports = require('./server.js');
|
||||
} catch (err) {
|
||||
console.log(err);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user