summaryrefslogtreecommitdiff
path: root/addons/payment_stripe/controllers/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/payment_stripe/controllers/main.py')
-rw-r--r--addons/payment_stripe/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/payment_stripe/controllers/main.py b/addons/payment_stripe/controllers/main.py
index a92e3cb2752..f021131fd8c 100644
--- a/addons/payment_stripe/controllers/main.py
+++ b/addons/payment_stripe/controllers/main.py
@@ -28,7 +28,7 @@ class StripeController(http.Controller):
try:
acquirer.s2s_process(post)
except Exception as e:
- error = e.message
+ error = str(e)
return_url = post.get('return_url', '/')
if error: