Why not just `status: err.status ? err.status : 500` here, and do away with `http` again, since you're really only using http to validate that it's "a something"?