
29 Oct
2015
29 Oct
'15
2:38 p.m.
Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com> --- src/wok/exception.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wok/exception.py b/src/wok/exception.py index bac326c..26ae2d1 100644 --- a/src/wok/exception.py +++ b/src/wok/exception.py @@ -22,7 +22,6 @@ import cherrypy import gettext - from wok.i18n import messages as _messages from wok.template import get_lang, validate_language @@ -51,6 +50,7 @@ class WokException(Exception): msg = unicode(msg, 'utf-8') % args pattern = "%s: %s" % (code, msg) + cherrypy.log.error_log.error(pattern) Exception.__init__(self, pattern) def _get_translation(self): -- 2.1.0