Skip to content

Conversation

joaquin-borggio-lc
Copy link
Contributor

@joaquin-borggio-lc joaquin-borggio-lc commented Sep 30, 2025

Ending an invalid stream leads to KeyError. This PR leverages a helper function that already exists to properly handle errors and raise a more informative exception.

@joaquin-borggio-lc joaquin-borggio-lc changed the title fix: Raise more informative error instead of generic KeyError on end_… fix: Raise more informative error instead of generic KeyError on end_stream Sep 30, 2025
@Kriechi
Copy link
Member

Kriechi commented Oct 4, 2025

LGTM! Please add a changelog entry and tests to cover the new behaviour.

@Kriechi
Copy link
Member

Kriechi commented Oct 14, 2025

Merged via 700990e.
Added a test via bcdf419.

@Kriechi Kriechi closed this Oct 14, 2025
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.

2 participants