fix: propagate error when no channels are enabled during startup (#897)

This commit is contained in:
wenjie
2026-02-28 16:04:44 +08:00
committed by GitHub
parent feee0da945
commit 6c8866de6f
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -175,6 +175,7 @@ func gatewayCmd(debug bool) error {
if err := channelManager.StartAll(ctx); err != nil {
fmt.Printf("Error starting channels: %v\n", err)
return err
}
fmt.Printf("✓ Health endpoints available at http://%s:%d/health and /ready\n", cfg.Gateway.Host, cfg.Gateway.Port)