Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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
zentron wants to merge 1 commit into libgit2:master
base: master
Choose a base branch
Loading
from OctopusDeploy:robe/smartsubtransport-exception

Conversation

@zentron
Copy link
Contributor

@zentron zentron commented Jul 19, 2025
edited
Loading

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
@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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /