Skip to content

provide CLI option to die on UnhandledPromiseRejectionWarning #22213

Closed
@cztomsik

Description

@cztomsik

I do a lot of prototyping and ofc things go bad and so I see a lot of unhandled promise warnings. This is fine, I want to die in such case anyway but it would be really nice (and I think also easy to do) to actually just die instead of issuing the warning.

The warning explains that in future it will just die, without warning but I want the future now.

  • Version: v10.6.0
  • Platform: 15.6.0 Darwin Kernel Version 15.6.0: Thu Jun 23 18:25:34 PDT 2016; root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64
  • Subsystem:

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