Преглед изворни кода

call process.exit(1) when bootstrap is failed

Yuki Takei пре 4 година
родитељ
комит
f52f39abdc
1 измењених фајлова са 1 додато и 0 уклоњено
  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);
   }
 }