From 4bbd8fe979346330118af227396e06068bb961e3 Mon Sep 17 00:00:00 2001 From: iacore Date: Sun, 21 Jan 2024 18:54:20 +0000 Subject: [PATCH] Do not give up when matrix is broken --- main.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index 194a292..f23b62f 100644 --- a/main.go +++ b/main.go @@ -69,10 +69,9 @@ func index(w http.ResponseWriter, r *http.Request) { http.Error(w, err.Error(), 500) return } - err = announce(non_duplicates) - if err != nil { - http.Error(w, err.Error(), 500) - return + err_annouce := announce(non_duplicates) + if err_annouce != nil { + log.Println(err_annouce) } // don't uncomment this in production. verbose