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

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: main (9.0)
    • Fix Version/s: main (9.0)
    • Labels:
      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

            • Assignee:
              Unassigned
              Reporter:
              gus Gus Heck
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: