Skip to content

Use in Chrome dev tools doesn't show full stacks #38

@garyo

Description

@garyo

I've been using make-error-cause in my back end and it works great. Tried it today in my front end, but console.error(err) mangles the stack traces for the causes (because Chrome dev tools doesn't show newlines perhaps?)

image

I also tried console.error(fullStack(err)) and that has the separator text, but omits the stacks entirely (except console.error itself shows the stack of the last, outermost, error when twirled open):
image

Is there anything I can do to get nice stack traces for the earlier/inner errors in dev tools?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions