Ejemplo n.º 1
0
        protected virtual RaygunPayload CreatePayload(ChainExceptionEvent daisyEvent)
        {
            var payload = new RaygunPayload(daisyEvent.Exception);

            payload.UserCustomData.Add("Chain", daisyEvent.Context.ChainName);

            return(payload);
        }
Ejemplo n.º 2
0
        protected virtual Task Send(RaygunPayload raygunPayload)
        {
            var client = _raygunClientProvider.GetClient(_raygunSettings.Value);

            return(client.SendInBackground(raygunPayload.Exception, raygunPayload.Tags, raygunPayload.UserCustomData));
        }