A quick improvement would be to already include the message of the
original requests.exceptions.HTTPError, so users at least see the HTTP
status code. (eg. 403 Forbidden, or 500 Internal Server Error)

-- 
You received this bug notification because you are a member of Python
Jenkins Developers, which is subscribed to Python Jenkins.
https://bugs.launchpad.net/bugs/1805454

Title:
  HTTP error response body discarded

Status in Python Jenkins:
  New

Bug description:
  When Jenkins returns a HTTP error response (e.g. a HTTP 500 internal
  server error), a JenkinsException is raised in place of the HTTPError.
  This JenkinsException includes the HTTP response code along with a
  generic description of what that code tends to represent, but it does
  not include the contents of the response body, which can contain more
  specific information about what went wrong. The lack of this debugging
  information seriously hampers debugging efforts of some Jenkins
  issues.

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/1805454/+subscriptions


-- 
Mailing list: https://launchpad.net/~python-jenkins-developers
Post to     : python-jenkins-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~python-jenkins-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to