manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1603264 - /manifoldcf/trunk/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java
Date Tue, 17 Jun 2014 19:17:56 GMT
Author: kwright
Date: Tue Jun 17 19:17:55 2014
New Revision: 1603264

URL: http://svn.apache.org/r1603264
Log:
Fix CONNECTORS-966 for generic connector

Modified:
    manifoldcf/trunk/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java

Modified: manifoldcf/trunk/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java?rev=1603264&r1=1603263&r2=1603264&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java
(original)
+++ manifoldcf/trunk/connectors/generic/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/generic/GenericConnector.java
Tue Jun 17 19:17:55 2014
@@ -399,7 +399,7 @@ public class GenericConnector extends Ba
           ByteArrayInputStream is = new ByteArrayInputStream(content);
           try {
             doc.setBinary(is, content.length);
-            activities.ingestDocument(documentIdentifiers[i], versions[i], item.url, doc);
+            activities.ingestDocumentWithException(documentIdentifiers[i], versions[i], item.url,
doc);
             is.close();
           } finally {
             is.close();



Mime
View raw message