Menu

#1 Clarify an error message

open
nobody
None
5
2007-02-02
2007-02-02
No

If a filter fails, the spider always emits a message referring to "robots.txt".

This patch clarifies the issue:

--- ./src/com/heatonresearch/httprecipes/spider/Spider.java»2006-12-23 20:22:38.000000000 +0100
+++ ../javaspider.work/./src/com/heatonresearch/httprecipes/spider/Spider.java»·2007-02-02 15:22:34.932789586 +0100
@@ -289,7 +289,7 @@
try {
filter.newHost(host, this.options.userAgent);
} catch (IOException e) {
- logger.log(Level.INFO, "Error while reading robots.txt file:"
+ logger.log(Level.INFO, "Error while applying filter:"
+ e.getMessage());
}
}

Discussion

  • Philipp Tölke

    Philipp Tölke - 2007-02-02

    The patch.

     
  • Philipp Tölke

    Philipp Tölke - 2007-02-02

    Logged In: YES
    user_id=1307875
    Originator: YES

    File Added: patch

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.