Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-7843

Add error stacktrace to WS /api/ce/task

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1
    • Component/s: Web API
    • Labels:

      Description

      If the status of the task is "FAILED", the response of WebServer /api/ce/task should include the message of the exception (see SONAR-7991) but also the stacktrace is available as attribute errorStacktrace (the stacktrace will be formated the same way it is by default in Java).

      Stacktrace must not be returned unless parameter "additionalFields" contains value "stacktrace".

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sebastien.lesaint Sebastien Lesaint
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: