Skip to content

Commit

Permalink
fix(gateway): deescalating log in gateway's writeErr
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Apr 28, 2023
1 parent 11fea99 commit 3c8376d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/gateway/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

func writeError(w http.ResponseWriter, statusCode int, endpoint string, err error) {
log.Errorw("serving request", "endpoint", endpoint, "err", err)
log.Debugw("serving request", "endpoint", endpoint, "err", err)

w.WriteHeader(statusCode)
errBody, jerr := json.Marshal(err.Error())
Expand Down

0 comments on commit 3c8376d

Please sign in to comment.