Skip to content

Propagate exceptions thrown by custom RpcSmartSubtransport - #2164

Open
zentron wants to merge 1 commit into
libgit2:masterfrom
OctopusDeploy:robe/smartsubtransport-exception
Open

Propagate exceptions thrown by custom RpcSmartSubtransport#2164
zentron wants to merge 1 commit into
libgit2:masterfrom
OctopusDeploy:robe/smartsubtransport-exception

Conversation

@zentron

@zentron zentron commented Jul 19, 2025

Copy link
Copy Markdown
Contributor

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 Jul 19, 2025
@zentron zentron closed this Aug 19, 2025
@zentron
zentron deleted the robe/smartsubtransport-exception branch August 19, 2025 02:13
@zentron
zentron restored the robe/smartsubtransport-exception branch August 19, 2025 02:13
@zentron zentron reopened this Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant