diff --git a/addons/payment_authorize/controllers/main.py b/addons/payment_authorize/controllers/main.py index 4417f0408bb..cf917adffcb 100644 --- a/addons/payment_authorize/controllers/main.py +++ b/addons/payment_authorize/controllers/main.py @@ -55,10 +55,6 @@ class AuthorizeController(http.Controller): return { 'error': message } - except UserError as e: - return { - 'error': e.args[0], - } if not token: res = {