Skip to content

Conversation

wolph
Copy link
Contributor

@wolph wolph commented Mar 31, 2025

The current release of channels hides all KeyErrors that can occur in backends. We should only catch the specific KeyError from parsing the settings, not from the import as well.

This pull request fixes that :)

Copy link
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @wolph — Do you think you would be able to add regression tests here, in test_layers.TestChannelLayerManager?

@wolph
Copy link
Contributor Author

wolph commented Apr 1, 2025

@carltongibson I let openhands add some tests, they look good to me but to verify, can you allow the CI to run?

Copy link
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks @wolph 👍

@carltongibson carltongibson merged commit 1290f60 into django:main Apr 3, 2025
7 checks passed
@wolph wolph deleted the patch-1 branch April 4, 2025 19:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants