python-jenkins-developers team mailing list archive
-
python-jenkins-developers team
-
Mailing list archive
-
Message #00020
[Bug 809362] Re: Catch more specific exception classes
Matthew - thanks for the patch.
I incorporated it into the most recent push to trunk with a few changes
to make the exception handling deal with 404 return codes from Jenkins.
Thanks again
** Changed in: python-jenkins
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of Python
Jenkins Developers, which is the registrant for Python Jenkins.
https://bugs.launchpad.net/bugs/809362
Title:
Catch more specific exception classes
Status in Python API for Jenkins:
Fix Committed
Bug description:
If possible, it would be better to use more specific exception classes
instead of just catching everything with except since this will mask
possibly unexpected exception types.
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-jenkins/+bug/809362/+subscriptions