Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
taran-p committed Nov 2, 2023
1 parent 341f1bd commit f128092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-tracer.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func doTrace(trace TraceInfo, backend *Backend) {
return
}

if globalErrorsOnly && st.StatusCode >= 400 && st.StatusCode < 600 {
if globalErrorsOnly && (st.StatusCode < 400 || st.StatusCode >= 600) {
return
}

Expand Down

0 comments on commit f128092

Please sign in to comment.