include http status code in exception if anything other than a 200