Fix raising of exception.

bzr revid: p_christ@hol.gr-20090908081456-kk89t2imfe1a6b7i
This commit is contained in:
P. Christeas 2009-09-08 11:14:56 +03:00
parent 221e41381d
commit b098c935e9
1 changed files with 1 additions and 1 deletions

View File

@ -227,7 +227,7 @@ class Logger(object):
try:
msg = tools.ustr(msg).strip()
if level in (LOG_ERROR,LOG_CRITICAL) and tools.config.get_misc('debug','env_info',True):
msg = common().get_server_environment() + msg
msg = common().exp_get_server_environment() + msg
result = msg.split('\n')
except UnicodeDecodeError: