refactor: improve project loading

This commit is contained in:
Carlos Valente
2025-03-29 21:57:30 +01:00
committed by arc-alex
parent fc4c1bf22e
commit 5c6b06a0d4
17 changed files with 137 additions and 173 deletions
+2 -2
View File
@@ -49,9 +49,9 @@ async function startBackend() {
const ontimeServer = require(nodePath);
const { initAssets, startServer, startIntegrations } = ontimeServer;
await initAssets();
await initAssets(escalateError);
const result = await startServer(escalateError);
const result = await startServer();
loaded = result.message;
await startIntegrations();