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 {