Browse Source

call process.exit(1) when bootstrap is failed

Yuki Takei 4 years ago
parent
commit
f52f39abdc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/slackbot-proxy/src/index.ts

+ 1 - 0
packages/slackbot-proxy/src/index.ts

@@ -22,6 +22,7 @@ async function bootstrap() {
   }
   catch (er) {
     $log.error(er);
+    process.exit(1);
   }
 }