libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

Propagate exceptions thrown by custom RpcSmartSubtransport

Open zentron opened this issue 5 months ago • 0 comments

Background

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

Related Fork PR: https://github.com/OctopusDeploy/libgit2sharp/pull/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 avatar Jul 19 '25 06:07 zentron