Problem
Current implementation doesn't care if a page rendering is stopped because of unhandled exceptions.
This behaviour is a bit problematic:
- clients can't tell if a rendering process crashed
- clients have to wait until timeout elapses but it's unnecessary
Solution
Capture "pageerror" event and return 500 with the empty body.
Problem
Current implementation doesn't care if a page rendering is stopped because of unhandled exceptions.
This behaviour is a bit problematic:
Solution
Capture
"pageerror"event and return 500 with the empty body.