You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of version 24.3.0 (see #627), ExceptionDictTransformer interprets the constructor arguments locals_max_string and locals_max_length as type int | None where None supposedly disables abbreviation or truncation. However, if you set one of those to None, you get a TypeError:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
As of version 24.3.0 (see #627),
ExceptionDictTransformer
interprets the constructor argumentslocals_max_string
andlocals_max_length
as typeint | None
whereNone
supposedly disables abbreviation or truncation. However, if you set one of those toNone
, you get aTypeError
:This is because of the following snippet:
structlog/src/structlog/tracebacks.py
Lines 385 to 390 in 51641b7
It should contain logic that handles the
None
case.The text was updated successfully, but these errors were encountered: