[
https://issues.apache.org/jira/browse/SOLR-13324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16800196#comment-16800196
]
ASF subversion and git services commented on SOLR-13324:
--------------------------------------------------------
Commit c60685f9e4515ba3d46049300a0d11095a8d877d in lucene-solr's branch
refs/heads/master from Gus Heck
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=c60685f ]
SOLR-13324 - Don't swallow/print exception in URLClassifyProcessor anymore
> Stop swallowing exception for Canonical URL in URLClassifyProocessor
> --------------------------------------------------------------------
>
> Key: SOLR-13324
> URL: https://issues.apache.org/jira/browse/SOLR-13324
> Project: Solr
> Issue Type: Sub-task
> Security Level: Public(Default Security Level. Issues are Public)
> Components: UpdateRequestProcessors
> Affects Versions: master (9.0)
> Reporter: Gus Heck
> Priority: Minor
>
> There's a default catch block here blocking SOLR-13322, which looks like we
> should just throw the exception from the method since it's only used inside a
> try/catch that already catches MalformedURLException
> {code:java}
> [forbidden-apis] Forbidden method invocation:
> java.lang.Throwable#printStackTrace() [Eclipse auto-generated stubs;
> exceptions should be correctly bubbled up and handled accordingly]
> [forbidden-apis] in org.apache.solr.update.processor.URLClassifyProcessor
> (URLClassifyProcessor.java:149)
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]