Skip to content

Commit d24b230

Browse files
committed
remove debug logs
1 parent 3c629d1 commit d24b230

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pkg/mcp/streamnative_resources_log_tools.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ import (
2222
"encoding/json"
2323
"fmt"
2424
"io"
25-
"log"
2625
"net/http"
2726
"regexp"
2827
"slices"
@@ -270,9 +269,7 @@ func (o *LogOptions) getLogs(client *http.Client, position int64,
270269
}
271270
err = json.Unmarshal(body, &logResult)
272271
if err != nil {
273-
log.Printf("failed to decode logs (%s): %v", url, err)
274-
log.Printf("response: %s", string(body))
275-
return results, fmt.Errorf("failed to decode logs (%s) (response: %s): %v", url, string(body), err)
272+
return results, fmt.Errorf("failed to decode logs (%s): %v", url, err)
276273
}
277274

278275
nextPosition := position

0 commit comments

Comments
 (0)