From 70364c687be20c32d37cc6d3fdab8a0b8e87cf53 Mon Sep 17 00:00:00 2001 From: Martin Redolatti Date: Fri, 6 Dec 2024 16:53:39 -0300 Subject: [PATCH] . --- cmd/splitd/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cmd/splitd/main.go b/cmd/splitd/main.go index 925b8d2..cf1275f 100644 --- a/cmd/splitd/main.go +++ b/cmd/splitd/main.go @@ -93,6 +93,7 @@ func startAPI(logger logging.LoggerInterface, apiCFG conf.API, linkCFG link.List server, err := api.Setup(apiCFG.Host, apiCFG.Port, logger, linkCFG) if err != nil { logger.Error("error creating HTTP server:", err.Error()) + return } if err = server.ListenAndServe(); err != nil {