Merge this patch with the other one where you edit the reqlogger.py
On 08/31/2016 06:06 PM, Lucio Correia wrote:
Signed-off-by: Lucio Correia <luciojhc(a)linux.vnet.ibm.com>
---
src/wok/reqlogger.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/wok/reqlogger.py b/src/wok/reqlogger.py
index 2923d7c..7a95907 100644
--- a/src/wok/reqlogger.py
+++ b/src/wok/reqlogger.py
@@ -129,7 +129,7 @@ class RequestParser(object):
code = error.get('code', '')
params = error.get('params', {})
msg = WokMessage(code, params, plugin)
- text += ' ' + msg.get_text(prepend_code=True, translate=True)
+ text += ' (%s)' % msg.get_text(prepend_code=True, translate=True)
return text