aodh/ceilometer/api
Mehdi Abaakouk 02d017022b Ensure the correct error message is displayed
When a untranslated error message pass through the translation pecan
hook, the previous translated error is send to the client.

This patch fix that by reseting the "translatable_error" of the
translation pecan hook before each request.

Change-Id: Icee79cf09fd696655048c7c0cf8a3d6706e31701
Fixes: bug #1260398
2013-12-17 09:48:11 +01:00
..
controllers api: raise ClientSideError rather than ValueError 2013-12-13 12:04:54 +01:00
v1 Add i18n warpping for all LOG messages 2013-11-29 21:09:53 +08:00
__init__.py Allow specifying a listen IP 2013-05-28 12:43:10 +01:00
acl.py api: allow alarm creation for others project by admins 2013-10-01 15:51:50 +02:00
app.py Add i18n warpping for all LOG messages 2013-11-29 21:09:53 +08:00
app.wsgi Add sample configuration files for mod_wsgi 2013-03-08 16:10:37 -05:00
config.py Fix Hacking 0.6 warnings 2013-07-30 10:32:06 +02:00
hooks.py Ensure the correct error message is displayed 2013-12-17 09:48:11 +01:00
middleware.py Add i18n warpping for all LOG messages 2013-11-29 21:09:53 +08:00