Fix raising of exception.
bzr revid: p_christ@hol.gr-20090908081456-kk89t2imfe1a6b7i
This commit is contained in:
parent
221e41381d
commit
b098c935e9
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue