Skip to content

print backtrace on panic #1075

@ry

Description

@ry

Currently a panic looks like this:

> ./out/debug/deno tests/http_bench.ts
PANIC file 'libcore/option.rs' line 989
Abort trap: 6

This because we've had to override the default panic handler because Tokio (sadly / mistakenly) swallows panics.

It would be very nice to not have to open LLDB to get a backtrace. I expect this issue can be done in one or two lines of code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions