From 5f195eec351969650014cae4e427d7020c28394b Mon Sep 17 00:00:00 2001 From: Arnas Udovic Date: Thu, 29 Jun 2023 15:18:50 +0300 Subject: [PATCH] rebuild fail --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index b266fa8..8bcfa22 100644 --- a/main.go +++ b/main.go @@ -4,6 +4,7 @@ import ( "context" "flag" "fmt" + "git.sr.ht/~adnano/go-gemini" "google.golang.org/grpc/credentials/insecure" "io" "log" @@ -13,7 +14,6 @@ import ( "strings" "time" - "git.sr.ht/~adnano/go-gemini" "git.sr.ht/~adnano/go-gemini/certificate" "github.com/flosch/pongo2/v6" "github.com/gorilla/feeds" @@ -98,6 +98,7 @@ func processRebuild(ctx context.Context, w gemini.ResponseWriter, r *gemini.Requ } log.Println("REBUILD: success") } else { + log.Fatalln(rsp, err) w.WriteHeader(gemini.StatusNotFound, "Out of space") } }