protected virtual RaygunPayload CreatePayload(SourceExceptionEvent daisyEvent) { var payload = new RaygunPayload(daisyEvent.Exception); payload.UserCustomData.Add("Chain", daisyEvent.ChainName); payload.UserCustomData.Add("Source", daisyEvent.SourceName); return(payload); }
public async ValueTask HandleAsync(SourceExceptionEvent daisyEvent) { var payload = CreatePayload(daisyEvent); await Send(payload); }
public ValueTask HandleAsync(SourceExceptionEvent daisyEvent) { _logger.LogInformation($"Event: {nameof(SourceExceptionEvent)}"); return(new ValueTask()); }