Explorar o código

call process.exit(1) when bootstrap is failed

Yuki Takei %!s(int64=4) %!d(string=hai) anos
pai
achega
f52f39abdc
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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);
   }
 }