Skip to content

catch "pageerror" event #2

Open
@k-kom

Description

Problem

Current implementation doesn't care if a page rendering is stopped because of unhandled exceptions.
This behaviour is a bit problematic:

  1. clients can't tell if a rendering process crashed
  2. clients have to wait until timeout elapses but it's unnecessary

Solution

Capture "pageerror" event and return 500 with the empty body.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions