From eeeb242a5f5f75460068c8c3952437b14e1fbeaf Mon Sep 17 00:00:00 2001 From: Arnas Udovic Date: Thu, 29 Jun 2023 15:38:27 +0300 Subject: [PATCH] rebuild fail --- main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.go b/main.go index 09f2e11..4ca60a6 100644 --- a/main.go +++ b/main.go @@ -96,11 +96,10 @@ func processRebuild(ctx context.Context, w gemini.ResponseWriter, r *gemini.Requ if err != nil { w.WriteHeader(gemini.StatusTemporaryFailure, "Internal server error") } - log.Println("REBUILD: success") } else { w.WriteHeader(gemini.StatusNotFound, "Out of space") - log.Fatal(err) } + log.Println("REBUILD: ", rsp.Success) } func processFavicon(_ context.Context, w gemini.ResponseWriter, _ *gemini.Request) {