aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--cgi/servers.go3
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index 28e80a8..295af31 100644
--- a/TODO
+++ b/TODO
@@ -3,3 +3,4 @@
* namespace everything to /c/ so apache can 404 requests to / instead of us
* makes webserver config harder due to .well-known needing to live at the root
* outbox return latest 20 posts only
+* support -1 dedupInterval
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) {