From 79380c6a74dfe745d66b3f8509115c5d62f64ef2 Mon Sep 17 00:00:00 2001 From: Charles-Henri Decultot Date: Wed, 23 May 2018 16:45:36 +0000 Subject: [PATCH] Travis correction --- .../doctype/stripe_settings/stripe_settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/erpnext_integrations/doctype/stripe_settings/stripe_settings.py b/erpnext/erpnext_integrations/doctype/stripe_settings/stripe_settings.py index 227f13897cf..7015a5137e6 100644 --- a/erpnext/erpnext_integrations/doctype/stripe_settings/stripe_settings.py +++ b/erpnext/erpnext_integrations/doctype/stripe_settings/stripe_settings.py @@ -86,7 +86,7 @@ class StripeSettings(Document): self.flags.status_changed_to = "Completed" else: - frappe.log_error(str(resp), 'Stripe Payment not completed') + frappe.log_error(charge.failure_message, 'Stripe Payment not completed') except: frappe.log_error(frappe.get_traceback())