You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tika.apache.org by ti...@apache.org on 2024/03/05 09:39:36 UTC
(tika) branch main updated: TIKA-4199: add comment, print to stderr
This is an automated email from the ASF dual-hosted git repository.
tilman pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/main by this push:
new 32ef34ff4 TIKA-4199: add comment, print to stderr
32ef34ff4 is described below
commit 32ef34ff49ccd6a8a7e595861216e66666fdeded
Author: Tilman Hausherr <ti...@apache.org>
AuthorDate: Tue Mar 5 10:39:29 2024 +0100
TIKA-4199: add comment, print to stderr
---
.../src/test/java/org/apache/tika/parser/pkg/Seven7ParserTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/parser/pkg/Seven7ParserTest.java b/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/parser/pkg/Seven7ParserTest.java
index 422c2599d..c9789db67 100644
--- a/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/parser/pkg/Seven7ParserTest.java
+++ b/tika-parsers/tika-parsers-standard/tika-parsers-standard-package/src/test/java/org/apache/tika/parser/pkg/Seven7ParserTest.java
@@ -144,7 +144,8 @@ public class Seven7ParserTest extends AbstractPkgTest {
ParseRecord parserRecord = recursingContext.get(ParseRecord.class);
List<Exception> exceptions = parserRecord.getExceptions();
if (!exceptions.isEmpty()) {
- System.out.println("Exceptions:");
+ // should't happen, but if it does, we'll know more earlier.
+ System.err.println("Exceptions:");
exceptions.forEach(e -> e.printStackTrace());
}