Skip to content

Unexpected UnhandledPromiseRejection during runtime #2830

@S200124

Description

@S200124

Hi,
due to the last modifications in NodeJs version 15 (https://nodejs.org/en/blog/release/v15.0.0/#throw-on-unhandled-rejections-33021, nodejs/node#33021) now the default mode for unhandledRejection is changed to throw (from warn).

This sometimes causes some unexpected crash of Node-Red.

A temporary fix could be set an option to --unhandled-rejections=warn or use a version of NodeJs before 15.

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