summaryrefslogtreecommitdiff
path: root/addons/payment_stripe/controllers
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-11-02 10:52:55 +0100
committerChristophe Simonis <chs@odoo.com>2018-11-02 10:52:55 +0100
commit5e055a2afd23bd4e6a29c18c86d1978dcd98fc9f (patch)
tree058c2cef359de70f7bbabacaa63446fa189af12e /addons/payment_stripe/controllers
parent486777654009aa372a21e9d6dd52e8c22173ee16 (diff)
parentf6ca72b3ce9ecc9007ae5825d2c648e3b26b098e (diff)
[MERGE] forward port branch saas-11.4 up to f6ca72b3ce9
Diffstat (limited to 'addons/payment_stripe/controllers')
-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: