Closed farazs closed 9 years ago
If something is logged, other than a string, line 256 in log.py causes a TypeError.
TypeError
For example: TypeError: unsupported operand type(s) for %: 'int' and 'tuple'
TypeError: unsupported operand type(s) for %: 'int' and 'tuple'
Code that causes this: "message": record.msg % record.args
"message": record.msg % record.args
I think using record.message instead of record.msg % record.args should fix this. I will make a pull request fixing this and the other log bug.
record.message
record.msg % record.args
If something is logged, other than a string, line 256 in log.py causes a
TypeError
.For example:
TypeError: unsupported operand type(s) for %: 'int' and 'tuple'
Code that causes this:
"message": record.msg % record.args
I think using
record.message
instead ofrecord.msg % record.args
should fix this. I will make a pull request fixing this and the other log bug.