manifoldcf-commits mailing list archives

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

URL: http://svn.apache.org/r1603278
Log:
Fix CONNECTORS-966 for jira connector

Modified:
    manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java

Modified: manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java?rev=1603278&r1=1603277&r2=1603278&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java
(original)
+++ manifoldcf/trunk/connectors/jira/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/jira/JiraRepositoryConnector.java
Tue Jun 17 19:55:37 2014
@@ -983,7 +983,7 @@ public class JiraRepositoryConnector ext
               InputStream is = new ByteArrayInputStream(documentBytes);
               try {
                 rd.setBinary(is, documentBytes.length);
-                activities.ingestDocument(nodeId, version, documentURI, rd);
+                activities.ingestDocumentWithException(nodeId, version, documentURI, rd);
                 // No errors.  Record the fact that we made it.
                 errorCode = "OK";
                 fileSize = new Long(documentBytes.length);
@@ -991,7 +991,7 @@ public class JiraRepositoryConnector ext
                 is.close();
               }
             } catch (java.io.IOException e) {
-              throw new RuntimeException("UTF-8 encoding unknown!!");
+              handleIOException(e);
             }
           }
         }



Mime
View raw message