Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-14886

Suppress stack trace in Query response.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 8.6.2
    • 9.4
    • None
    • None

    Description

      Currently there is no way to suppress the stack trace in solr response when it throws an exception, like when a client sends a badly formed query string, or exception with status 500 It sends full stack trace in the response. 

      I would propose a configuration for error messages so that the stack trace is not visible to avoid any sensitive information in the stack trace.

      Attachments

        1. SOLR-14886.patch
          21 kB
          Isabelle Giguere
        2. SOLR-14886.patch
          24 kB
          Isabelle Giguere

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              vrinda Vrinda Davda
              Votes:
              1 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 5h 40m
                  5h 40m