mirror of
https://github.com/yacy/yacy_search_server.git
synced 2025-07-17 08:26:08 -04:00
*) Suppress stacktrace on proxy error for "ValidatorException: No trusted certificate found"
See: http://www.yacy-forum.de/viewtopic.php?t=1110 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@686 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
@ -311,6 +311,9 @@ public final class plasmaCrawlWorker extends Thread {
|
||||
name, "denied_(url_in_blacklist)", new bitfield(plasmaURL.urlFlagLength), true);
|
||||
}
|
||||
|
||||
// TODO: resolve yacy and yacyh domains
|
||||
String yAddress = yacyCore.seedDB.resolveYacyAddress(host);
|
||||
|
||||
// set referrer; in some case advertise a little bit:
|
||||
referer = (referer == null) ? "" : referer.trim();
|
||||
if (referer.length() == 0) referer = "http://www.yacy.net/yacy/";
|
||||
@ -480,7 +483,9 @@ public final class plasmaCrawlWorker extends Thread {
|
||||
"Pausing crawlers. ");
|
||||
plasmaCrawlLoader.switchboard.pauseCrawling();
|
||||
} else if ((errorMsg != null) && (errorMsg.indexOf("Network is unreachable") >=0)) {
|
||||
log.logSevere("CRAWLER Network is unreachable while trying to crawl URL '" + url.toString() + "'. ");
|
||||
log.logSevere("CRAWLER Network is unreachable while trying to crawl URL '" + url.toString() + "'. ");
|
||||
} else if ((errorMsg != null) && (errorMsg.indexOf("No trusted certificate found")>= 0)) {
|
||||
log.logSevere("CRAWLER No trusted certificate found for URL '" + url.toString() + "'. ");
|
||||
} else {
|
||||
log.logSevere("CRAWLER Unexpected Error with URL '" + url.toString() + "': " + e.toString(),e);
|
||||
}
|
||||
|
Reference in New Issue
Block a user