Skip to content

Stalled top-level promise detection for TLA #42868

Closed
@zuozp8

Description

@zuozp8

Version

v18.0.0

Subsystem

modules

What steps will reproduce the bug?

create file 1.mjs with following content

await new Promise(() => {})

run it and check code returned by process with node 1.mjs && echo $?

What is the expected behavior?

I would like to be verbousely warned that script didn't reach it's end

What do you see instead?

process finished with error code 13, with nothing in console

> node 1.mjs && echo $?
13

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions