mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
urls with non-OK response code do not exist
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user