Skip to content

fix(hono): Include originalException in captured exception hint - #22979

Merged
Lms24 merged 1 commit into
getsentry:developfrom
kamilogorek:hono-originalexception
Aug 4, 2026
Merged

fix(hono): Include originalException in captured exception hint#22979
Lms24 merged 1 commit into
getsentry:developfrom
kamilogorek:hono-originalexception

Conversation

@kamilogorek

Copy link
Copy Markdown
Contributor

Hono is the only package that is using client interface directly. Because of that, none of default behavior applies, and captureException is not receiving a standard originalException property.
Without it, LinkedErrors integration and alike do not work and any data about cause chain is lost.

@kamilogorek
kamilogorek requested a review from a team as a code owner August 4, 2026 08:53
@kamilogorek
kamilogorek requested review from nicohrubec and s1gr1d and removed request for a team August 4, 2026 08:53

@Lms24 Lms24 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Hey Kamil 👋
Change LGTM and is a minimal fix for the time being.

cc @s1gr1d once you're back, is there a reason for using the client rather than the scope's captureException?

@Lms24
Lms24 merged commit 43d55a9 into getsentry:develop Aug 4, 2026
84 of 86 checks passed
@kamilogorek
kamilogorek deleted the hono-originalexception branch August 4, 2026 09:47
Lms24 added a commit that referenced this pull request Aug 4, 2026
…22990)

Backport of: #22979

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
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.

6 participants