private async Task ProcessTraceAsync(TraceEvent traceEvent)
 {
     try
     {
         using (var cts = new CancellationTokenSource(_configuration.TraceTimeout))
         {
             await _traceProcessor.ProcessTraceAsync(traceEvent, cts.Token);
         }
     }
     catch (Exception ex)
     {
         _logger.Warning(
             ex,
             "Error tracing trace event for user '{User}' and input '{Input}'",
             traceEvent?.Trace?.User,
             traceEvent?.Trace?.Input);
     }
 }