Skip to content

Add request URI to gRPC client error descriptions#646

Open
pjfanning wants to merge 2 commits intoapache:mainfrom
pjfanning:copilot/copy-pull-request-1748
Open

Add request URI to gRPC client error descriptions#646
pjfanning wants to merge 2 commits intoapache:mainfrom
pjfanning:copilot/copy-pull-request-1748

Conversation

@pjfanning
Copy link
Member

Part of #642

Copies akka/akka-grpc#1748 which is now Apache licensed

Copilot AI and others added 2 commits March 6, 2026 15:13
…PR #1748)

Co-authored-by: pjfanning <11783444+pjfanning@users.noreply.github.com>
Copy link
Member

@raboof raboof left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not so sure. I share some of the concerns from the original issue that this could leak internal information or give the client control over the response in a way that could lead to XSS-type situations. Have we seen a strong demand for this?

@pjfanning
Copy link
Member Author

@raboof reasonable point about URLs in exception messages.

We could make the behaviour opt-in via config (off by default).
Or just log the URLs to local logs instead of adding them to exception messages (if this is not already done)

Noone has explicitly asked for this and we could just take this as a cue to leave this for now.

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.

3 participants