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

REST API should return exception details on error

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 1.1.0
    • Component/s: Client - HTTP
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: