Skip to content

Propagate exceptions thrown by custom RpcSmartSubtransport #2164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zentron
Copy link
Contributor

@zentron zentron commented Jul 19, 2025

Background

If an exception is thrown in a custom RpcSmartSubtransport the exception is consumed by the SmartSubtransportStream.SetError code.

Related Fork PR: OctopusDeploy#9

Result

This PR ensures that an exception thrown from within a RpcSmartSubtransport is passed to the Proxy.git_error_set_str call that is later re-retrieved and thrown to the consumer.

@zentron zentron changed the title Propagate exceptions thrown by custom SmartSubtransport Propagate exceptions thrown by custom RpcSmartSubtransport Jul 19, 2025
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.

1 participant