@@ -79,6 +79,9 @@ func (h *HTTPRoundTripLogger) RoundTrip(req *http.Request) (*http.Response, erro
81func bodyToString(body io.ReadCloser) string {
81func bodyToString(body io.ReadCloser) string {
82 src, err := io.ReadAll(body)
85 src, err := io.ReadAll(body)
83 if err != nil {
86 if err != nil {
84 slog.Error("Failed to read body", "error", err)
87 slog.Error("Failed to read body", "error", err)