public async Task ProcessAsync(ProcessingContext context) { while (!context.IsStopping) { try { await _inner.ProcessAsync(context); } catch (OperationCanceledException) { return; } catch (Exception ex) { _logger.LogWarning( 1, ex, "Prcessor '{ProcessorName}' failed. Retrying...", _inner.ToString()); } } }