[FIX] bug with exception formating
bzr revid: christophe@tinyerp.com-20090109091201-58kfjqi23awrjbtz
This commit is contained in:
parent
f873421eb5
commit
eab8eb27cb
|
@ -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']:
|
||||
|
|
Loading…
Reference in New Issue