wkeeling/ratelimitingfilter

Filter breaks with TypeError on logger.exception

Closed this issue · 2 comments

TypeError: unsupported operand type(s) for +=: 'ConnectionError' and 'str'

Sorry, my mistake -- I incorrectly logged exceptions.

No problem - although I think logger.exception(e) is probably a common case, and the filter ought not to fall over with a TypeError when used like that. I'll perhaps look at making that more robust. Thanks for raising the issue in the first instance!