Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13322 Enable checking for System.out references in Solr codebase
  3. SOLR-13324

Stop swallowing exception for Canonical URL in URLClassifyProocessor

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 9.0
    • 9.0
    • None

    Description

      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

      [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)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gus Gus Heck
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: