refactor(runtime): let daemon startup failures bubble up
CI / Type Check & Lint (push) Successful in 6s
CI / Build Test (Current Platform) (push) Successful in 6s
CI / Build All Platforms (push) Successful in 40s

This commit is contained in:
2026-04-21 12:46:24 +00:00
parent 5e8ce6690d
commit 58eabba84d
2 changed files with 4 additions and 5 deletions
+3 -4
View File
@@ -72,10 +72,9 @@ export class Daemon {
await this.monitor();
} catch (error) {
this.isRunning = false;
logger.error(
`Daemon failed to start: ${error instanceof Error ? error.message : String(error)}`,
);
process.exit(1);
const message = error instanceof Error ? error.message : String(error);
logger.error(`Daemon failed to start: ${message}`);
throw error;
}
}
+1 -1
View File
@@ -256,7 +256,7 @@ export class ModelGrid {
// Initialize containers from config
for (const containerConfig of this.config.containers) {
await this.containerManager.addContainer(containerConfig);
this.containerManager.addContainer(containerConfig);
}
// Initialize model registry