HTTPException does not have status code for some HTTP errors

Bug #1515519 reported by Bartłomiej Biernacki
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-heatclient
Fix Released
Undecided
Bartłomiej Biernacki

Bug Description

For some HTTP Errors which do not have derived exception (i.e. 504) heat client library raises an HTTPException, but do not set up a code field (code is N/A in that case). I believe if we have a field called "code" in can be set up with status code for every HTTP Error so user can react on them using that field.

Changed in python-heatclient:
assignee: nobody → Bartłomiej Biernacki (pax0r)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-heatclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/244497

Changed in python-heatclient:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-heatclient (master)

Reviewed: https://review.openstack.org/244497
Committed: https://git.openstack.org/cgit/openstack/python-heatclient/commit/?id=11dfd95c469eea456841a9f6c7e04f34d62077c2
Submitter: Jenkins
Branch: master

commit 11dfd95c469eea456841a9f6c7e04f34d62077c2
Author: Bartlomiej Biernacki <email address hidden>
Date: Thu Nov 12 09:43:23 2015 +0100

    Fill status code for every HTTPException

    Change-Id: Ib73398f0a555c9ac4534fd3ce4a1c06e51bc5962
    Closes-Bug: #1515519

Changed in python-heatclient:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/python-heatclient 1.2.0

This issue was fixed in the openstack/python-heatclient 1.2.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.