Exception rule changed

Only throw exception if the status code returned is 404