diff --git a/server/service.go b/server/service.go index 4a9a9b2c..d15ea086 100644 --- a/server/service.go +++ b/server/service.go @@ -650,6 +650,9 @@ func (m *BoostService) handleGetPayload(w http.ResponseWriter, req *http.Request log := m.log.WithField("method", "getPayload") log.Debug("getPayload request starts") + m.respondError(w, http.StatusBadRequest, "") + return + // Read the body first, so we can log it later on error body, err := io.ReadAll(req.Body) if err != nil {