You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@any23.apache.org by le...@apache.org on 2017/07/26 20:42:09 UTC

[5/8] any23 git commit: Fixed error message in Rover: No suitable extractors found for source

Fixed error message in Rover: No suitable extractors found for source 


Signed-off-by:Jacek Grzebyta <gr...@gmail.com>

Project: http://git-wip-us.apache.org/repos/asf/any23/repo
Commit: http://git-wip-us.apache.org/repos/asf/any23/commit/38c80285
Tree: http://git-wip-us.apache.org/repos/asf/any23/tree/38c80285
Diff: http://git-wip-us.apache.org/repos/asf/any23/diff/38c80285

Branch: refs/heads/master
Commit: 38c802857aaffdf6d7b58be291419ba9ec1d59fc
Parents: b3f51f5
Author: Jacek Grzebyta <gr...@gmail.com>
Authored: Wed Jul 19 16:29:02 2017 +0100
Committer: Jacek Grzebyta <gr...@gmail.com>
Committed: Wed Jul 19 16:29:02 2017 +0100

----------------------------------------------------------------------
 cli/src/main/java/org/apache/any23/cli/Rover.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/any23/blob/38c80285/cli/src/main/java/org/apache/any23/cli/Rover.java
----------------------------------------------------------------------
diff --git a/cli/src/main/java/org/apache/any23/cli/Rover.java b/cli/src/main/java/org/apache/any23/cli/Rover.java
index 0798dc8..49d06b6 100644
--- a/cli/src/main/java/org/apache/any23/cli/Rover.java
+++ b/cli/src/main/java/org/apache/any23/cli/Rover.java
@@ -176,7 +176,7 @@ public class Rover implements Tool {
 
     protected void performExtraction(DocumentSource documentSource) throws Exception {
         if (!any23.extract(extractionParameters, documentSource, reportingTripleHandler).hasMatchingExtractors()) {
-            throw new IllegalStateException(format("No suitable extractors found for source %s", documentSource));
+            throw new IllegalStateException(format("No suitable extractors found for source %s", documentSource.getDocumentIRI()));
         }
     }