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
from zlib import compress as real_compress, decompress
from neo.locking import Queue, Empty
from random import shuffle
import traceback
import time
from ZODB.POSException import UndoError, StorageTransactionError, ConflictError
......@@ -796,8 +795,7 @@ class Application(object):
try:
_waitAnyMessage()
except:
logging.error('Exception in tpc_abort: %s',
traceback.format_exc())
logging.error('Exception in tpc_abort', exc_info=1)
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