Skip to content

How do we catch uWebSockets.js error? Node.js process terminates without notifications #1296

Description

@denyaalt

Hi,
Node.js process terminates silently several times a day, and the following message is written to stdout:

Error: Returning from a request handler without responding or attaching an abort handler is forbidden!
Method: "get"
URL: "/"
terminate called without an active exception

The events process.on('unhandledRejection') and process.on('uncaughtException') do not catch the error.
Any ideas for catching uWebSockets.js errors?
Thanks.

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