bug fix: gateway should not start when gateway server is not running (#1562)
This commit is contained in:
parent
7b9fdaec32
commit
afe22c5adf
1 changed files with 1 additions and 1 deletions
|
|
@ -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(),
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue