refactor: improve project loading

This commit is contained in:
Carlos Valente
2025-03-29 21:57:30 +01:00
parent 8f5a4f4a0a
commit 402d10055b
17 changed files with 138 additions and 178 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();