libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

An error thrown by a custom `RpcSmartSubtransport` is consumed and not propagated to the client code

Open zentron opened this issue 5 months ago • 0 comments

If implementing a custom RpcSmartSubtransport that throws an exception during the read or write operation, the error message is ignored in the SmartSubtransportStream because it is not a NativeException.

Related PR with fix and repro test: https://github.com/libgit2/libgit2sharp/pull/2164

zentron avatar Jul 19 '25 06:07 zentron