Skip to content

Set bozo bit on non-fatal errors #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

maksverver
Copy link
Contributor

Previously these errors were ignored, since an exception is raised only on fatal errors. With this change, when a non-fatal error occurs, the bozo bit is still set, but the feed is not reparsed with the loose parser.

Background and discussion here: lemon24/reader#350

Previously these errors were ignored, since an exception is raised only on fatal
errors. With this change, when a non-fatal error occurs, the bozo bit is still
set, but the feed is not reparsed with the loose parser.

Background and discussion here: lemon24/reader#350
@maksverver maksverver force-pushed the dont-ignore-nonfatal-errors branch from dc207c9 to 7ce4176 Compare August 29, 2024 22:01
Copy link
Contributor

@lemon24 lemon24 left a comment

Choose a reason for hiding this comment

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

Code looks good!

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