Skip to content

Commit

Permalink
dnsproxytest: imp code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mizzick committed Jun 28, 2024
1 parent 22b4035 commit 1b58095
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions internal/dnsproxytest/tslog.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,7 @@ func (h *TLogHandler) Handle(_ context.Context, r slog.Record) (err error) {
return true
})

if r.Level >= slog.LevelError {
h.tb.Error(string(buf))
} else {
h.tb.Log(string(buf))
}
h.tb.Log(string(buf))

return nil
}
Expand Down

0 comments on commit 1b58095

Please sign in to comment.