nutch-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject svn commit: r1295119 - in /nutch/trunk: CHANGES.txt src/java/org/apache/nutch/fetcher/Fetcher.java
Date Wed, 29 Feb 2012 14:12:36 GMT
Author: markus
Date: Wed Feb 29 14:12:36 2012
New Revision: 1295119

URL: http://svn.apache.org/viewvc?rev=1295119&view=rev
Log:
NUTCH-1291 Fetcher to stringify exception on // unexpected exception

Modified:
    nutch/trunk/CHANGES.txt
    nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java

Modified: nutch/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/nutch/trunk/CHANGES.txt?rev=1295119&r1=1295118&r2=1295119&view=diff
==============================================================================
--- nutch/trunk/CHANGES.txt (original)
+++ nutch/trunk/CHANGES.txt Wed Feb 29 14:12:36 2012
@@ -1,5 +1,7 @@
 Nutch Change Log
 
+* NUTCH-1291 Fetcher to stringify exception on // unexpected exception (markus)
+
 * NUTCH-965 Skip parsing for truncated documents (alexis, lewismc, ferdy)
 
 * NUTCH-1210 DomainBlacklistFilter (markus)

Modified: nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java
URL: http://svn.apache.org/viewvc/nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java?rev=1295119&r1=1295118&r2=1295119&view=diff
==============================================================================
--- nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java (original)
+++ nutch/trunk/src/java/org/apache/nutch/fetcher/Fetcher.java Wed Feb 29 14:12:36 2012
@@ -828,7 +828,7 @@ public class Fetcher extends Configured 
           } catch (Throwable t) {                 // unexpected exception
             // unblock
             fetchQueues.finishFetchItem(fit);
-            logError(fit.url, t.toString());
+            logError(fit.url, StringUtils.stringifyException(t));
             output(fit.url, fit.datum, null, ProtocolStatus.STATUS_FAILED, CrawlDatum.STATUS_FETCH_RETRY);
           }
         }



Mime
View raw message