From c7287815beb55ae8616a364a90dcb455e4178ad4 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 23 Mar 2025 10:24:31 +0800 Subject: Add missing error return --- main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'main.go') diff --git a/main.go b/main.go index c689165..bbdadb9 100644 --- a/main.go +++ b/main.go @@ -183,6 +183,7 @@ func main() { if err != nil { if !errors.Is(err, http.ErrNoCookie) { http.Error(writer, "error fetching cookie", http.StatusInternalServerError) + return } } -- cgit v1.2.3