Why not send the error? Also, it's more idiomatic to use res.send: `res.send(500)` or `res.send(500, err)`