In case of error in an http request, to log also de returned data

XMLWordPrintable

      In most REST APIs, the host will return an explanation message when answers with an error to an HTTP request.

      Having this explanation included in the log will help a lot to fix unexpected issues.

      Now I must have each http request call surrounded in a try/catch block to be able to show the returned error message.

      It will be acceptable if this is considered an additional functionality to be activated by using a parameter.

            Assignee:
            Janario Oliveira
            Reporter:
            Javier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: