server: fix wording in NewChannel debug message
This commit is contained in:
@@ -68,7 +68,7 @@ func NewChannel(w http.ResponseWriter, r *http.Request) {
|
|||||||
slog.Debug("channel: entering NewChannel handler")
|
slog.Debug("channel: entering NewChannel handler")
|
||||||
err := r.ParseMultipartForm(64 << 10)
|
err := r.ParseMultipartForm(64 << 10)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
slog.Error("user: failed to parse multipartform", "error", err)
|
slog.Error("channel: failed to parse multipartform", "error", err)
|
||||||
http.Error(w, "Unable to parse form", http.StatusBadRequest)
|
http.Error(w, "Unable to parse form", http.StatusBadRequest)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user