Commit ee447665 authored by Vincent Pelletier's avatar Vincent Pelletier

Use exc_info parameter of python logger.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2161 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent c3e23917
...@@ -20,7 +20,6 @@ from cPickle import dumps, loads ...@@ -20,7 +20,6 @@ from cPickle import dumps, loads
from zlib import compress as real_compress, decompress from zlib import compress as real_compress, decompress
from neo.locking import Queue, Empty from neo.locking import Queue, Empty
from random import shuffle from random import shuffle
import traceback
import time import time
from ZODB.POSException import UndoError, StorageTransactionError, ConflictError from ZODB.POSException import UndoError, StorageTransactionError, ConflictError
...@@ -796,8 +795,7 @@ class Application(object): ...@@ -796,8 +795,7 @@ class Application(object):
try: try:
_waitAnyMessage() _waitAnyMessage()
except: except:
logging.error('Exception in tpc_abort: %s', logging.error('Exception in tpc_abort', exc_info=1)
traceback.format_exc())
self.local_var.clear() self.local_var.clear()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment