From 88279f1fe9b561bf2877309666058c8d2c82e3a7 Mon Sep 17 00:00:00 2001 From: avalonche Date: Thu, 19 Oct 2023 13:28:12 +1100 Subject: [PATCH] test ci - add breaking change --- server/service.go | 3 +++ 1 file changed, 3 insertions(+) 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 {