as you might know the python logging module supports the definition of *kwargs to customize log entries. This appears to be not supported for logging exceptions.
My
You can just use e.g.
logger.error('Message with %s', 'args', exc_info=1, extra={...})