Skip to content

Commit eab40f7

Browse files
committed
mcp: add TODO for missing error logging
1 parent 50b3337 commit eab40f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mcp/streamable.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ func (h *StreamableHTTPHandler) ServeHTTP(w http.ResponseWriter, req *http.Reque
167167
h.mu.Lock()
168168
delete(h.transports, transport.SessionID)
169169
h.mu.Unlock()
170+
// TODO: consider logging this error
170171
_ = transport.session.Close()
171172
}
172173
w.WriteHeader(http.StatusNoContent)

0 commit comments

Comments
 (0)