Skip to content

_parse_keep: make defensive and yield exception to respect error policy#87

Merged
purarue merged 1 commit into
purarue:masterfrom
karlicoss:keep-yield
Jul 25, 2025
Merged

_parse_keep: make defensive and yield exception to respect error policy#87
purarue merged 1 commit into
purarue:masterfrom
karlicoss:keep-yield

Conversation

@karlicoss

Copy link
Copy Markdown
Contributor

Before the change, a keep entry formatted in an unexpected way would result in whole export crashing, even when the error policy isn't 'raise'. This change makes it consistent with other parsers that emit exceptions.

Before the change, a keep entry formatted in an unexpected way would result in whole export crashing, even when the error policy isn't 'raise'.
This change makes it consistent with other parsers that emit exceptions.

@purarue purarue left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

great, thanks 👍

@purarue purarue merged commit caba85b into purarue:master Jul 25, 2025
7 checks passed
@karlicoss karlicoss deleted the keep-yield branch July 25, 2025 21:31
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