[FIX] Logs the stack trace.

bzr revid: jth@openerp.com-20100401132651-dgcz26yhw152f4sh
This commit is contained in:
Julien Thewys
2010-04-01 15:26:51 +02:00
parent 8d62e97ff5
commit 44f6ef941a
+2 -2
View File
@@ -607,9 +607,9 @@ class YamlInterpreter(object):
try:
self._process_node(node)
except YamlImportException, e:
self.logger.log(logging.ERROR, e)
self.logger.exception(e)
except Exception, e:
self.logger.log(logging.ERROR, e)
self.logger.exception(e)
raise e
def _process_node(self, node):