Handle status fanout rejections (Refs #66)
This commit is contained in:
@@ -12,6 +12,9 @@ let booted = false;
|
||||
function boot(): void {
|
||||
if (booted) return;
|
||||
booted = true;
|
||||
process.on('unhandledRejection', reason => {
|
||||
console.error('[process] unhandled rejection:', reason);
|
||||
});
|
||||
migrate();
|
||||
interruptDeployments();
|
||||
startWorker();
|
||||
|
||||
Reference in New Issue
Block a user