Kaynağa Gözat

call process.exit(1) when bootstrap is failed

Yuki Takei 4 yıl önce
ebeveyn
işleme
f52f39abdc
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  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);
   }
 }