Commit a3c0ceab authored by Patrick Strawderman's avatar Patrick Strawderman

Pass formatted string to exception for more informative tracebacks.

parent 4a5fd8ae
......@@ -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