You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/03/24 23:09:00 UTC
[jira] [Commented] (SOLR-13324) Stop swallowing exception for
Canonical URL in URLClassifyProocessor
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org