From ecc12333e17380bc0767092f6b46105bfd9bd373 Mon Sep 17 00:00:00 2001 From: Niko Abeler Date: Sat, 19 Nov 2022 15:55:38 +0100 Subject: [PATCH] show error in h value --- cmd/owl/web/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/owl/web/handler.go b/cmd/owl/web/handler.go index 962ea7a..5b0355a 100644 --- a/cmd/owl/web/handler.go +++ b/cmd/owl/web/handler.go @@ -289,7 +289,7 @@ func userMicropubHandler(repo *owl.Repository) func(http.ResponseWriter, *http.R if h != "entry" { w.WriteHeader(http.StatusBadRequest) - w.Write([]byte("Bad request. h must be entry")) + w.Write([]byte("Bad request. h must be entry. Got " + h)) return } if content == "" {