FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Propagate exceptions thrown by custom RpcSmartSubtransport by zentron · Pull Request #2164 · libgit2/libgit2sharp · GitHub

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 commented Jul 19, 2025
edited
Loading

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 changed the title Propagate exceptions thrown by custom SmartSubtransport Propagate exceptions thrown by custom RpcSmartSubtransport Jul 19, 2025
zentron closed this Aug 19, 2025
zentron deleted the robe/smartsubtransport-exception branch August 19, 2025 02:13
zentron restored the robe/smartsubtransport-exception branch August 19, 2025 02:13
zentron reopened this Aug 19, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL