Skip to content

Commit

Permalink
test ci - add breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
avalonche committed Oct 19, 2023
1 parent bf8078e commit 88279f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check failure on line 657 in server/service.go

View workflow job for this annotation

GitHub Actions / Lint

unreachable: unreachable code (govet)
if err != nil {
Expand Down

0 comments on commit 88279f1

Please sign in to comment.