From 0e49abd2df932f2eadea249e7882e7e4f92c3451 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Sun, 8 Jan 2023 09:09:12 -0500 Subject: git rid of panic here --- cgi/servers.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cgi') diff --git a/cgi/servers.go b/cgi/servers.go index 44a636c..8538920 100644 --- a/cgi/servers.go +++ b/cgi/servers.go @@ -44,7 +44,7 @@ func (s *Servers) Start() { signed, err := delivery.NewSigned(s.persister) if err != nil { - panic(err) + logger.Error(err) return } @@ -74,6 +74,7 @@ func (s *Servers) Start() { } wg.Wait() + return nil } func startCGIServer(h config.Handler, log *zap.SugaredLogger) { -- cgit v1.2.3