From e8de4192e788c59a555411dea335d4badfdaa3be Mon Sep 17 00:00:00 2001 From: veeck Date: Tue, 4 Oct 2022 17:22:06 +0200 Subject: [PATCH] Update with review suggestions --- js/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/app.js b/js/app.js index 670b62039e..bd3f81d25f 100644 --- a/js/app.js +++ b/js/app.js @@ -234,9 +234,9 @@ function App() { nodePromises.push(nodeHelper.start()); } - Log.log("Sockets connected & modules started ..."); + Promise.allSettled(nodePromises).then(() => { + Log.log("Sockets connected & modules started ..."); - Promise.all(nodePromises).then(() => { if (typeof callback === "function") { callback(config); }