From eab8eb27cb4f1500463cfd7e4205297212bcc0cf Mon Sep 17 00:00:00 2001 From: Christophe Simonis Date: Fri, 9 Jan 2009 10:12:01 +0100 Subject: [PATCH] [FIX] bug with exception formating bzr revid: christophe@tinyerp.com-20090109091201-58kfjqi23awrjbtz --- bin/netsvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/netsvc.py b/bin/netsvc.py index a1dc8b06968..b0e5035e29f 100644 --- a/bin/netsvc.py +++ b/bin/netsvc.py @@ -227,7 +227,7 @@ class OpenERPDispatcher: self.log('result', result) return result except Exception, e: - self.log('exception', e) + self.log('exception', tools.exception_to_unicode(e)) tb = sys.exc_info() tb_s = "".join(traceback.format_exception(*tb)) if tools.config['debug_mode']: