rebuild fail
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Arnas Udovic 2023-06-29 15:38:27 +03:00
parent 18de1572c1
commit eeeb242a5f

View file

@ -96,11 +96,10 @@ func processRebuild(ctx context.Context, w gemini.ResponseWriter, r *gemini.Requ
if err != nil { if err != nil {
w.WriteHeader(gemini.StatusTemporaryFailure, "Internal server error") w.WriteHeader(gemini.StatusTemporaryFailure, "Internal server error")
} }
log.Println("REBUILD: success")
} else { } else {
w.WriteHeader(gemini.StatusNotFound, "Out of space") w.WriteHeader(gemini.StatusNotFound, "Out of space")
log.Fatal(err)
} }
log.Println("REBUILD: ", rsp.Success)
} }
func processFavicon(_ context.Context, w gemini.ResponseWriter, _ *gemini.Request) { func processFavicon(_ context.Context, w gemini.ResponseWriter, _ *gemini.Request) {