libgit2sharp
libgit2sharp copied to clipboard
Propagate exceptions thrown by custom RpcSmartSubtransport
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.