Skip to content

Add rpc.status to client response context for annotated thrift exceptions#934

Open
deepanshumehndiratta wants to merge 3 commits intov1.4.1-hotfix-maintenancefrom
rpc_annotation_thrift
Open

Add rpc.status to client response context for annotated thrift exceptions#934
deepanshumehndiratta wants to merge 3 commits intov1.4.1-hotfix-maintenancefrom
rpc_annotation_thrift

Conversation

@deepanshumehndiratta
Copy link

This change adds the response status to the returned context from tchannel clients by inspecting system errors, as well as annotated applications errors (thrift exceptions)

@deepanshumehndiratta deepanshumehndiratta force-pushed the rpc_annotation_thrift branch 2 times, most recently from 1b1f442 to 5509687 Compare May 3, 2024 10:12
@hbhoyar-uber
Copy link
Contributor

Can you also add the test which shows generated code setting up this annotation

@deepanshumehndiratta
Copy link
Author

Can you also add the test which shows generated code setting up this annotation

Added a unit test to cover this

Copy link
Contributor

@hbhoyar-uber hbhoyar-uber left a comment

Choose a reason for hiding this comment

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

Nice! Looks like you refactored unnecessary code as well.

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.

2 participants