Skip to content

fix(readers): avoid panic on sparse problem responses#60

Merged
matoous merged 1 commit intomainfrom
md/readers-problem-error
Mar 27, 2026
Merged

fix(readers): avoid panic on sparse problem responses#60
matoous merged 1 commit intomainfrom
md/readers-problem-error

Conversation

@matoous
Copy link
Copy Markdown
Contributor

@matoous matoous commented Mar 27, 2026

Wrap RFC 9457 problem responses without dereferencing optional title/detail fields so reader creation failures remain regular command errors.

Add coverage for a sparse problem payload to keep the error path non-panicking.

Wrap RFC 9457 problem responses without dereferencing optional title/detail fields so reader creation failures remain regular command errors.

Add coverage for a sparse problem payload to keep the error path non-panicking.
@matoous matoous merged commit df6f67d into main Mar 27, 2026
6 checks passed
@matoous matoous deleted the md/readers-problem-error branch March 27, 2026 21:20
@sumup-bot sumup-bot bot mentioned this pull request Mar 27, 2026
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.

1 participant