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") } }