[ 
https://issues.apache.org/jira/browse/TIKA-1764?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14947941#comment-14947941
 ] 

Tim Allison commented on TIKA-1764:
-----------------------------------

On second thought, if you use the RecursiveParserWrapper, do you get what you 
need?

> Provide information on failed document parsing in 
> ParsingEmbeddedDocumentExtractor
> ----------------------------------------------------------------------------------
>
>                 Key: TIKA-1764
>                 URL: https://issues.apache.org/jira/browse/TIKA-1764
>             Project: Tika
>          Issue Type: Improvement
>    Affects Versions: 1.5, 1.10
>            Reporter: Odilo Oehmichen
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> The {{ParsingEmbeddedDocumentExtractor}} delegates the parsing of documents 
> to a {{Parser}}-instance.  
> If this parser fails with a {{TikaException}} the extractor class returns 
> silenty:
> {code}
>  catch (TikaException e) {
>             // TODO: can we log a warning somehow?
>             // Could not parse the entry, just skip the content
>         }
> {code}
> This behaviour makes it very hard to detect problems concerning parsing.
> As the {{TODO}} in the source already states, please a some logging of the 
> exception here.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to