From 07a527a35b80ae9c69f3dde90f0db19354571118 Mon Sep 17 00:00:00 2001 From: Nick Porter <88012362+porter-stripe@users.noreply.github.com> Date: Mon, 24 Jul 2023 10:01:35 -0700 Subject: [PATCH] Revert "Log error_message to our analytics table" --- .../Source/PaymentSheet/STPAnalyticsClient+PaymentSheet.swift | 3 --- 1 file changed, 3 deletions(-) diff --git a/StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPAnalyticsClient+PaymentSheet.swift b/StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPAnalyticsClient+PaymentSheet.swift index 9aec9a454ec..2ac2c18fee1 100644 --- a/StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPAnalyticsClient+PaymentSheet.swift +++ b/StripePaymentSheet/StripePaymentSheet/Source/PaymentSheet/STPAnalyticsClient+PaymentSheet.swift @@ -260,9 +260,6 @@ extension STPAnalyticsClient { additionalParams["currency"] = currency additionalParams["is_decoupled"] = intentConfig != nil additionalParams["error_domain"] = (error as? NSError)?.domain - if let error = error as? PaymentSheetError { - additionalParams["error_message"] = error.safeLoggingString - } additionalParams["deferred_intent_confirmation_type"] = deferredIntentConfirmationType?.rawValue for (param, param_value) in params {