Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-1417 Improve error handling and reporting for API requests
  3. AMBARI-1419

Normalize back-end exceptions so that they are reported correctly by the API

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      Because the back-end isn't normalized for all exceptions, the API doesn't always know how to report the error to the user. As an example, some back-end code throws InvalidArgumentException for user errors and in other cases, this exception should result in a 500 server error.

      Attachments

        Activity

          People

            jspeidel John Speidel
            jspeidel John Speidel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: