From afe22c5adf882238f371c60f6d07c48889579433 Mon Sep 17 00:00:00 2001 From: Cytown Date: Tue, 17 Mar 2026 19:07:36 +0800 Subject: [PATCH] bug fix: gateway should not start when gateway server is not running (#1562) --- pkg/channels/manager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/channels/manager.go b/pkg/channels/manager.go index 8121525ab..7d49a0e30 100644 --- a/pkg/channels/manager.go +++ b/pkg/channels/manager.go @@ -396,7 +396,7 @@ func (m *Manager) StartAll(ctx context.Context) error { "addr": m.httpServer.Addr, }) if err := m.httpServer.ListenAndServe(); err != nil && err != http.ErrServerClosed { - logger.ErrorCF("channels", "Shared HTTP server error", map[string]any{ + logger.FatalCF("channels", "Shared HTTP server error", map[string]any{ "error": err.Error(), }) }