urls with non-OK response code do not exist

This commit is contained in:
Dennis Ushakov
2016-01-25 16:10:23 +03:00
parent 93cbd7b561
commit c063fc0cbe
@@ -192,6 +192,10 @@ public abstract class WebReferencesAnnotatorBase extends ExternalAnnotator<WebRe
LOG.info(e);
return MyFetchResult.UNKNOWN_HOST;
}
catch (HttpRequests.HttpStatusException e) {
LOG.info(e);
return MyFetchResult.NONEXISTENCE;
}
catch (IOException e) {
LOG.info(e);
}