Skip to content

(fix) handle aborts within error.toString#17

Open
joshgoebel wants to merge 1 commit intomainfrom
errorTostringAborts
Open

(fix) handle aborts within error.toString#17
joshgoebel wants to merge 1 commit intomainfrom
errorTostringAborts

Conversation

@joshgoebel
Copy link
Copy Markdown
Owner

@joshgoebel joshgoebel commented Sep 20, 2021

Dont' assume Fiber#error can be converted into a string without potentially aborting. This is definitely an edge case I think. We still would get the C stack trace, but now we can continue to get our own nice Wren-side stack trace still.

If this happens and UnknownError is raised (only in the visual stack trace):

UnknownError: toString on Error object aborted

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