Skip to content

Commit

Permalink
fix: SRS ingestion and cfg loading bugs - ignore gosec false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
epociask authored and teddyknox committed Jul 21, 2024
1 parent b433d4d commit 0d35ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func WithLogging(handleFn func(http.ResponseWriter, *http.Request) error, log lo
return func(w http.ResponseWriter, r *http.Request) {
log.Info("request", "method", r.Method, "url", r.URL)
err := handleFn(w, r)
if err != nil {
if err != nil { // #nosec G104
w.Write([]byte(err.Error()))
log.Error(err.Error())
}
Expand Down

0 comments on commit 0d35ee4

Please sign in to comment.