Commit f283176d authored by Patrick Strawderman's avatar Patrick Strawderman

Pass formatted string to exception for more informative tracebacks.

parent fb104def
......@@ -51,7 +51,7 @@ logger = logging.getLogger('ZODB.FileStorage')
def panic(message, *data):
logger.critical(message, *data)
raise CorruptedTransactionError(message)
raise CorruptedTransactionError(message % data)
class FileStorageError(POSException.StorageError):
pass
......
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