When a plugin returns an error object, the web server crashes or hangs.
Express: crashes: senecajs/seneca-web-adapter-express#8
Hapi: hangs and leaks memory (I have not yet created an issue on senecajs/seneca-web-adapter-hapi for this)
I figure that since it is happening on both, the root cause must be seneca-web. I tried to trace through the code but after a few hours I couldn't figure it out.
When a plugin returns an error object, the web server crashes or hangs.
Express: crashes: senecajs/seneca-web-adapter-express#8 Hapi: hangs and leaks memory (I have not yet created an issue on senecajs/seneca-web-adapter-hapi for this)
I figure that since it is happening on both, the root cause must be seneca-web. I tried to trace through the code but after a few hours I couldn't figure it out.