Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

toString() fix

Michael Peter Christen1bf605b6d190
diff --git a/source/net/yacy/crawler/robots/RobotsTxt.java b/source/net/yacy/crawler/robots/RobotsTxt.java
index 584915e67..a570f4099 100644
--- a/source/net/yacy/crawler/robots/RobotsTxt.java
+++ b/source/net/yacy/crawler/robots/RobotsTxt.java
@@ -164,7 +164,7 @@ public class RobotsTxt {
try {
response = RobotsTxt.this.loader.load(request, CacheStrategy.NOCACHE, null, agent);
} catch (final Throwable e) {
- log.info("Trying to download the robots.txt file from URL '" + robotsURL + "' failed - " + e.getMessage());
+ log.info("Trying to download the robots.txt file from URL '" + robotsURL.toNormalform(false) + "' failed - " + e.getMessage());
response = null;
}
}