Skip to content

fix: add structured logging for streamable HTTP transport errors - #332

Open
samithreddychinni wants to merge 1 commit into
nitrocloudofficial:mainfrom
samithreddychinni:feat/streamable-http-error-logging
Open

fix: add structured logging for streamable HTTP transport errors#332
samithreddychinni wants to merge 1 commit into
nitrocloudofficial:mainfrom
samithreddychinni:feat/streamable-http-error-logging

Conversation

@samithreddychinni

Copy link
Copy Markdown

adds structured logging for Streamable HTTP request failures by routing them through existing logger and including the request method, path, and error message as metadata. Direct StreamableHttpTransport usage still falls back to console.error, and failed POST and GET requests continue to return a JSON-RPC 500 response. I also added regression coverage for both request methods and documented the default logging behavior. Closes #17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Core] Structured or leveled logging for Streamable HTTP transport errors

1 participant