Skip to content

Fix: Context-ending listener failures can mask the original application failure - #376

Merged
techmahedy merged 1 commit into
doppar:4.xfrom
techmahedy:issue-4.x
Oct 17, 2026
Merged

techmahedy merged 1 commit into
doppar:4.xfrom
techmahedy:issue-4.x

Conversation

@techmahedy

@techmahedy techmahedy commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Pull Request Checklist

Q A
Branch? 4.x
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Description

endContext() rethrows the first ending-listener failure. During an HTTP handler failure, dispatch() then calls endContext(), allowing a teardown exception to replace the original handler exception. The same can occur during termination after a terminating callback fails.

This PR will fix this issue

@techmahedy techmahedy added the bug Something isn't working label Oct 17, 2026
@techmahedy techmahedy changed the title Fix: Context-ending listener failures can mask the original applicati… Fix: Context-ending listener failures can mask the original application failure Oct 17, 2026
@techmahedy
techmahedy merged commit 847eebe into doppar:4.x Oct 17, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant