mcp: minor cleanup of some TODOs (#332)
Do a pass through TODOs to delete or address minor TODOs.
This commit is contained in:
parent
719f68d0bf
commit
62d815922f
1 changed files with 14 additions and 11 deletions
|
|
@ -1152,7 +1152,6 @@ func (c *streamableClientConn) Write(ctx context.Context, msg jsonrpc.Message) e
|
|||
}
|
||||
|
||||
if resp.StatusCode < 200 || resp.StatusCode >= 300 {
|
||||
// TODO: do a best effort read of the body here, and format it in the error.
|
||||
resp.Body.Close()
|
||||
return fmt.Errorf("broken session: %v", resp.Status)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue