2
0
Эх сурвалжийг харах

call process.exit(1) when bootstrap is failed

Yuki Takei 4 жил өмнө
parent
commit
f52f39abdc

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

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