Create better exception for invalid template reference

Bug #1178011 reported by Jeff Peeler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Low
Jeff Peeler

Bug Description

Currently in the case of an invalid template reference, a KeyError exception is raised. A clearer exception could be created to let the user know why the error occurred.

Jeff Peeler (jpeeler-z)
Changed in heat:
milestone: none → havana-1
assignee: nobody → Jeff Peeler (jpeeler-z)
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

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

Reviewed: https://review.openstack.org/28634
Committed: http://github.com/openstack/heat/commit/54225d05d50aa9234eb44abc4d295047da393d87
Submitter: Jenkins
Branch: master

commit 54225d05d50aa9234eb44abc4d295047da393d87
Author: Jeff Peeler <email address hidden>
Date: Wed May 8 18:40:17 2013 -0400

    Add new exception for invalid template ref

    Hopefully is clearer than a KeyError.

    Change-Id: Ib387825396ab0286df00aaff3b1b539cd7fc9a77
    Fixes: bug #1178011

Changed in heat:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in heat:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in heat:
milestone: havana-1 → 2013.2
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.