Only dump result when StatusCode is not 200 or 404