Println doesn't support formats.
This commit is contained in:
committed by
Juliusz Chroboczek
parent
aa3e094f65
commit
c6d065aa20
+1
-1
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user