From 1bf605b6d190c67574fe0b1a4697ca25abeefe5f Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Thu, 24 Jul 2014 00:04:46 +0200 Subject: [PATCH] toString() fix --- source/net/yacy/crawler/robots/RobotsTxt.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }