Skip to content
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

refactor(parser): improve error handling and reporting #880

Merged

Conversation

xcoulon
Copy link
Member

@xcoulon xcoulon commented Dec 6, 2021

make sure that all subsequent steps of the pipeline are bypassed
when a DocumentFragment carries and error. Also, include the
start and end position (as offsets from the beginning of the doc)
for each fragment (with and without errors)

fixes #879

Signed-off-by: Xavier Coulon [email protected]

make sure that all subsequent steps of the pipeline are bypassed
when a DocumentFragment carries and error. Also, include the
`start` and `end` position (as offsets from the beginning of the doc)
for each fragment (with and without errors)

fixes bytesparadise#879

Signed-off-by: Xavier Coulon <[email protected]>
@xcoulon xcoulon merged commit 501b3d5 into bytesparadise:master Dec 6, 2021
@xcoulon xcoulon deleted the Issue879_improve_error_handling branch December 6, 2021 20:08
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.

Better handle errors when parsing a document
1 participant