Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2764

REST API should return exception details on error

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.8.0
    • 1.1.0
    • Client - HTTP
    • None

    Description

      Currently, if an exception occurs via the REST API (e.g. your query is invalid or fails to execute for any reason), the server returns a 500 status code with a standard error page.

      We should be getting the full details of the exception that occurred so we can log the results and have better insight into the success of the query.

      Attachments

        1. DRILL-2764.1.patch.txt
          3 kB
          Adam Gilmore

        Issue Links

          Activity

            People

              dragoncurve Adam Gilmore
              dragoncurve Adam Gilmore
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: