1
Fork 0

Fix incorrect formatting of error message.

This commit is contained in:
Juliusz Chroboczek 2022-10-21 19:05:37 +02:00
parent 10c57c7596
commit be0f05dac8
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ func groupStatusHandler(w http.ResponseWriter, r *http.Request) {
func publicHandler(w http.ResponseWriter, r *http.Request) { func publicHandler(w http.ResponseWriter, r *http.Request) {
base, err := groupBase(r) base, err := groupBase(r)
if err != nil { if err != nil {
log.Println("couldn't determine group base: %v", err) log.Printf("couldn't determine group base: %v", err)
http.Error(w, "Internal server error", http.Error(w, "Internal server error",
http.StatusInternalServerError) http.StatusInternalServerError)
return return