From 04b93fa1073bc6aba14c9f785a3a6c195b7d26fd Mon Sep 17 00:00:00 2001 From: Stavros Date: Thu, 2 Jul 2026 15:07:04 +0300 Subject: [PATCH] fix: remove shutdown from serve error path --- internal/bootstrap/router_bootstrap.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/bootstrap/router_bootstrap.go b/internal/bootstrap/router_bootstrap.go index 703d0442..8a92a1d0 100644 --- a/internal/bootstrap/router_bootstrap.go +++ b/internal/bootstrap/router_bootstrap.go @@ -227,7 +227,6 @@ func (app *BootstrapApp) serve(listener net.Listener, server *http.Server, ctx c err := server.Serve(listener) if err != nil && !errors.Is(err, http.ErrServerClosed) { - shutdown() return fmt.Errorf("failed to start %s listener: %w", name, err) }