I'd rethink that. Every connection to the server closes, and whatever else it might be doing stops, because someone hits your syntax error? And they completely DoS your server by slowly refreshing the page?
Surely the best practice is to use something like koa or otherwise create a promise chain with a top-level 500 handler.