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

Signed-off-by:Jacek Grzebyta <[email protected]>

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 <[email protected]>
Authored: Wed Jul 19 16:29:02 2017 +0100
Committer: Jacek Grzebyta <[email protected]>
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()));
         }
     }
 

Reply via email to