1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-23 00:55:58 +01:00

Println doesn't support formats.

This commit is contained in:
Antonin Décimo 2020-09-14 15:48:16 +02:00 committed by Juliusz Chroboczek
parent aa3e094f65
commit c6d065aa20

View file

@ -144,7 +144,7 @@ func groupHandler(w http.ResponseWriter, r *http.Request) {
if os.IsNotExist(err) { if os.IsNotExist(err) {
notFound(w) notFound(w)
} else { } else {
log.Println("addGroup: %v", err) log.Printf("addGroup: %v", err)
http.Error(w, "Internal server error", http.Error(w, "Internal server error",
http.StatusInternalServerError) http.StatusInternalServerError)
} }