public Task <OperationRetryControl> ReportOperationExceptionAsync(IServiceRemotingClient client, ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings, CancellationToken cancellationToken) { var fabricTransportServiceRemotingClient = client as FabricTransportServiceRemotingClient; _logger.ServiceClientFailed( fabricTransportServiceRemotingClient?.ResolvedServicePartition.ServiceName, ServiceRequestContext.Current?.GetCustomHeader(), exceptionInformation.Exception); return(_innerClientFactory.ReportOperationExceptionAsync( fabricTransportServiceRemotingClient?.InnerClient, exceptionInformation, retrySettings, cancellationToken)); }
public Task <OperationRetryControl> ReportOperationExceptionAsync(IServiceRemotingClient client, ExceptionInformation exceptionInformation, OperationRetrySettings retrySettings, CancellationToken cancellationToken) { _logger.ServiceClientFailed(new Uri(client.Endpoint.Address), ServiceRequestContext.Current?.Headers.GetCustomHeader(), exceptionInformation.Exception); return(_innerClientFactory.ReportOperationExceptionAsync(client, exceptionInformation, retrySettings, cancellationToken)); }