this is podracing
This commit is contained in:
1 parent
65d37eeb61
commit
f2294def05
12 files changed
+187
-169
No files matched your search
+9
-9
@@ -5,15 +5,15 @@ import { Events } from './src/events';
|
||||
async function start() {
|
||||
const log = createLog();
|
||||
|
||||
process.on('uncaughtException', (err, origin) => {
|
||||
log.error({ err, origin }, 'uncaughtException');
|
||||
process.exit(1);
|
||||
});
|
||||
// process.on('uncaughtException', (err, origin) => {
|
||||
// log.error({ err, origin }, 'uncaughtException');
|
||||
// process.exit(1);
|
||||
// });
|
||||
|
||||
process.on('unhandledRejection', (reason, promise) => {
|
||||
log.error({ reason, promise }, 'unhandledRejection');
|
||||
process.exit(1);
|
||||
});
|
||||
// process.on('unhandledRejection', (reason, promise) => {
|
||||
// log.error({ reason, promise }, 'unhandledRejection');
|
||||
// process.exit(1);
|
||||
// });
|
||||
|
||||
process.on('SIGTERM', () => {
|
||||
log.debug('SIGTERM received, exiting');
|
||||
@@ -31,7 +31,7 @@ async function start() {
|
||||
// events.emit(Events.StartupSync);
|
||||
// events.emit(Events.ListingsUpdated);
|
||||
|
||||
await api.listen();
|
||||
api.listen();
|
||||
}
|
||||
|
||||
start();
|
||||
Reference in new issue
Block a user