From 9f6451c2ac89cac2d49f320df838aa6749401c9e Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Mon, 25 Feb 2013 18:24:46 +0100 Subject: [PATCH] [FIX] typo in attachment server-side methods lp bug: https://launchpad.net/bugs/1132770 fixed bzr revid: nicolas.vanhoren@openerp.com-20130225172446-gfuhhg0dqetiz51m --- addons/web/controllers/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/web/controllers/main.py b/addons/web/controllers/main.py index 394bbe657d9..87af7474daf 100644 --- a/addons/web/controllers/main.py +++ b/addons/web/controllers/main.py @@ -1311,7 +1311,7 @@ class Binary(openerpweb.Controller): 'id': attachment_id } except Exception: - args = {'error':e.faultCode } + args = {'error': "Something horrible happened"} return out % (simplejson.dumps(callback), simplejson.dumps(args)) @openerpweb.httprequest