From bfcc1fc3aaccf7756a588652ffd52dc0e93ab3ac Mon Sep 17 00:00:00 2001 From: dakkar Date: Tue, 5 Nov 2024 14:21:58 +0000 Subject: [PATCH] check harder for connectibility `allSettled` does not throw if a promise is rejected, so `check_connect` never actually failed --- packages/backend/scripts/check_connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/scripts/check_connect.js b/packages/backend/scripts/check_connect.js index bb149444b5..96c4549ccb 100644 --- a/packages/backend/scripts/check_connect.js +++ b/packages/backend/scripts/check_connect.js @@ -53,4 +53,4 @@ const promises = Array connectToPostgres() ]); -await Promise.allSettled(promises); +await Promise.all(promises);