- Modify the way the
extra
dict is used byLogRecord
in order to prevent possibleKeyError
with standardlogging
handlers (#271). - Add a new
default
optional argument tologger.catch()
, it should be the returned value by the decorated function in case an error occurred (#272). - Fix
ValueError
when usingserialize=True
in combination withlogger.catch()
orlogger.opt(record=True)
due to circular reference of therecord
dict (#286).