rebuild fail

This commit is contained in:
Arnas Udovic 2023-06-29 15:23:25 +03:00
parent 5f195eec35
commit 18de1572c1

View file

@ -98,8 +98,8 @@ 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")
log.Fatal(err)
}
}