Skip to content

jsglue: add a method to retrieve ErrorInfo from the pending exception stack#723

Draft
Gae24 wants to merge 2 commits intoservo:mainfrom
Gae24:exception-stack
Draft

jsglue: add a method to retrieve ErrorInfo from the pending exception stack#723
Gae24 wants to merge 2 commits intoservo:mainfrom
Gae24:exception-stack

Conversation

@Gae24
Copy link
Contributor

@Gae24 Gae24 commented Mar 23, 2026

Attempt to retrieve ErrorInfo from the stack of the pending exception, to avoid empty messages on uncaught exceptions.

Testing: Need to test it with servo.
Servo PR: TBD

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
cx,
message_buf.as_mut_ptr(),
filename_buf.as_mut_ptr(),
1024,
Copy link
Member

Choose a reason for hiding this comment

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

magic number

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
@Gae24 Gae24 force-pushed the exception-stack branch from 8a19166 to 303ba05 Compare March 23, 2026 11:16
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