← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1805454] [NEW] HTTP error response body discarded

 

Public bug reported:

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.

** Affects: python-jenkins
     Importance: Undecided
         Status: New

-- 
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


Follow ups