Closed chacestew closed 6 years ago
This was due to my render function being async
and not passing the error down the middleware chain. In case anyone ends up here with the same issue and a similar implementation, async-error-catcher provides an easily solution.
Thanks for the library!
The middleware seems to hang with no output when my server bundle encounters an error. Only upon exiting the process does the error trace print to stddout.
Middleware implementation is standard:
I can reproduce by throwing anywhere in the render/server bundle. Otherwise the middleware works normally. Is this a limitation or something I haven't configured correctly?