Skip to content

express-async-errors not patched or unhandled promise rejections crash the process #420

Description

@Junman140

src/index.ts: Express 4 does not natively catch async errors in route handlers. Without express-async-errors or a wrapper, rejected promises in handlers crash the process with unhandledRejection.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions