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