mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-13 17:52:22 +00:00
fix(server): update package lock, attempt to log crashes
This commit is contained in:
parent
ee5dd5842b
commit
357b48dc8f
2 changed files with 5650 additions and 5714 deletions
11358
package-lock.json
generated
11358
package-lock.json
generated
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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue