delete or query an not exist snapshot raise exception more readable
Bug #1279189 reported by
jichenjc
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
jichenjc |
Bug Description
In V2 API layer code, it would be better if we raise exception instead of return it
try:
except exception.NotFound:
return exc.HTTPNotFound() ----> use raise instead of return
Changed in nova: | |
assignee: | nobody → jichencom (jichenjc) |
Changed in nova: | |
milestone: | none → icehouse-rc1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | icehouse-rc1 → 2014.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/72906
Review: https:/