mirror of
https://github.com/internetarchive/heritrix3.git
synced 2026-09-23 14:15:47 +00:00
handle case where there is no whois server for a domain
This commit is contained in:
@@ -263,6 +263,10 @@ public class FetchWhois extends Processor implements CoreAttributeConstants,
|
||||
tryThis = makeWhoisUrl(referralServers.get(ultraSuffix), domainOrIp);
|
||||
} else if (urlProgress.get(makeWhoisUrl(ULTRA_SUFFIX_WHOIS_SERVER, ultraSuffix)) == null) {
|
||||
tryThis = makeWhoisUrl(ULTRA_SUFFIX_WHOIS_SERVER, ultraSuffix);
|
||||
} else {
|
||||
logger.warning("apparently no whois server for \"" + domainOrIp + "\"");
|
||||
curi.setFetchStatus(S_OTHER_PREREQUISITE_FAILURE);
|
||||
return ProcessResult.PROCEED;
|
||||
}
|
||||
|
||||
assert(tryThis != null);
|
||||
|
||||
Reference in New Issue
Block a user