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

core(link-elements): gracefully handle header parser error #14936

Merged
merged 4 commits into from
Mar 29, 2023

Conversation

adamraine
Copy link
Member

@adamraine adamraine commented Mar 28, 2023

Part of #14934

Screenshot 2023-03-28 at 12 16 28 PM

Copy link
Member

@brendankenny brendankenny left a comment

Choose a reason for hiding this comment

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

the try/catch is great in general (even a really bad link header shouldn't break all link headers) and LGTM, but for the specific case in #14934, are we sure that is an error? It feels weird to put a top level warning on that case if it isn't

core/gather/gatherers/link-elements.js Show resolved Hide resolved
core/gather/gatherers/link-elements.js Outdated Show resolved Hide resolved
@adamraine
Copy link
Member Author

but for the specific case in #14934, are we sure that is an error? It feels weird to put a top level warning on that case if it isn't

No this PR does not close #14934, we should still file upstream about that.

@adamraine adamraine merged commit 1e6c0ac into main Mar 29, 2023
@adamraine adamraine deleted the graceful-link-header-error branch March 29, 2023 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants