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
When running python manage.py display_side_effects against a codebase with a side-effect that does not have a docstring defined - it errors hard with a very hard to grok error message.
File "/Users/[..snip...]/platform/.venv/lib/python3.10/site-packages/side_effects/management/commands/display_side_effects.py", line 28, in <dictcomp>
label: sorted(handlers, key=handler_sort_key)
TypeError: '<' not supported between instances of 'NoneType' and 'list'
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
...
File "[..snip...]/side_effects/management/commands/display_side_effects.py", line 98, in handle
events = sort_events(
File "[..snip...]/side_effects/management/commands/display_side_effects.py", line 27, in sort_events
return {
File "[..snip...]/side_effects/management/commands/display_side_effects.py", line 28, in <dictcomp>
label: sorted(handlers, key=handler_sort_key)
TypeError: '<' not supported between instances of 'NoneType' and 'list'
task: Failed to run task "freeze-snapshots": exit status 1
When running
python manage.py display_side_effects
against a codebase with a side-effect that does not have a docstring defined - it errors hard with a very hard to grok error message.The text was updated successfully, but these errors were encountered: