public async Task OnErrorAsync(Exception exc) { if (isDisposed) { throw new ObjectDisposedException(string.Format("{0}-{1}", GetType(), "OnErrorAsync")); } if (!connectedToRendezvous) { await ConnectToRendezvous(); } await myExtension.ErrorInStream(stream.InternalStreamId, exc); }
public async Task OnErrorAsync(Exception exc) { if (isDisposed) { throw new ObjectDisposedException(string.Format("{0}-{1}", GetType(), "OnErrorAsync")); } _ = RequestContextExtensions.SuppressCurrentCallChainFlow(); if (!connectedToRendezvous) { await ConnectToRendezvous(); } await myExtension.ErrorInStream(stream.InternalStreamId, exc); }