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

chore: improve header error #67

Merged
merged 1 commit into from
Feb 27, 2024
Merged

chore: improve header error #67

merged 1 commit into from
Feb 27, 2024

Conversation

chris13524
Copy link
Member

@chris13524 chris13524 commented Feb 22, 2024

Description

"Invalid header" isn't a good error message, this improves the error message. The header is already parsed as a valid structure, all this does is check the type (t) field.

How Has This Been Tested?

Not tested. Passes compilation, and nothing depends on this error. It's just used to help debugging a 400.

Due Diligence

  • Breaking change
  • Requires a documentation update
  • Requires a e2e/integration test update

@chris13524 chris13524 self-assigned this Feb 22, 2024
@chris13524 chris13524 merged commit e504051 into main Feb 27, 2024
9 checks passed
@chris13524 chris13524 deleted the chore/improve-header-error branch February 27, 2024 18:05
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