python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00174
[Bug 1246468] Re: Jenkins returning 404 cannot be distinguished
I'm afraid I still don't understand your complaint. If the API returns
a 404, I want a distinguishable exception thrown, regardless of why
Jenkins returned that 404. I can tell you that Jenkins does return 404
responses for, e.g., jobs that don't exist.
--
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