← Back to team overview

python-jenkins-developers team mailing list archive

[Bug 1246468] Re: Jenkins returning 404 cannot be distinguished

 

Well, my point is I want an exception raised when a 404 is returned by
the Jenkins API.  With the current code, I get *nothing* raised when the
API returns a 404.

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

Title:
  Jenkins returning 404 cannot be distinguished

Status in Python API for Jenkins:
  Incomplete

Bug description:
  If a non-GET request is made for a resource which doesn't exist—such
  as cancelling a non-existant queue item—no exception or error is
  reported to the user.  At the very least, a distinguishable error
  should be raised.  (Distinguishable in that it should not be
  JenkinsException, although it should be a subclass of
  JenkinsException).

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


References