[FIX] typo in attachment server-side methods

lp bug: https://launchpad.net/bugs/1132770 fixed

bzr revid: nicolas.vanhoren@openerp.com-20130225172446-gfuhhg0dqetiz51m
This commit is contained in:
niv-openerp 2013-02-25 18:24:46 +01:00
parent 811d4a4efd
commit 9f6451c2ac
1 changed files with 1 additions and 1 deletions

View File

@ -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