private Task ExceptionReceivedHandlerAsync(ExceptionReceivedEventArgs arg) { _logger.LogError(arg.Exception.Message, null, arg.Exception); return(Task.CompletedTask); }
public Task <bool> DequeueErrorHandler(Exception ex) { _logger.LogError($"Error during dequeue {ex.GetType().Name}", null, ex); return(Task.FromResult(true)); }