public void RecordFailedEvent(StripeEvent stripeEvent, StripeEventResponseDTO stripeEventResponse) { try { _donationService.CreatePaymentProcessorEventError(stripeEvent, stripeEventResponse); } catch (Exception e) { _logger.Error("Error writing event to failure log", e); } }