Skip to content

Commit

Permalink
Remove extra error logging
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Nov 22, 2023
1 parent e3a0c01 commit 35ba1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/receive/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ func (h *Handler) receiveHTTP(w http.ResponseWriter, r *http.Request) {

responseStatusCode := http.StatusOK
if err := h.handleRequest(ctx, rep, tenant, &wreq); err != nil {
level.Debug(tLogger).Log("msg", "failed to handle request", "err", err.Error(), "value", fmt.Sprintf("%v", err))
level.Debug(tLogger).Log("msg", "failed to handle request", "err", err.Error())
switch errors.Cause(err) {
case errNotReady:
responseStatusCode = http.StatusServiceUnavailable
Expand Down

0 comments on commit 35ba1f9

Please sign in to comment.