]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
heat engine : avoid returning empty resource error strings
authorSteven Hardy <shardy@redhat.com>
Tue, 19 Feb 2013 18:17:02 +0000 (18:17 +0000)
committerSteven Hardy <shardy@redhat.com>
Tue, 19 Feb 2013 18:17:02 +0000 (18:17 +0000)
commit2f4b981cd4a373cb66af935558e2ed3a779dd202
treef0ae04c1f99ae555a756475b3034ac704e4ecec4
parent54defea528b938a78f686d1f37daaa7025872a34
heat engine : avoid returning empty resource error strings

Avoid the possibility of returning an empty string (when Exceptions
have not got a string message), or parser.py will treat the error
as success and the resource operation failure will not be correctly
reflected in the resource state.

fixes bug 1130270

Change-Id: I1c55dea1f9615cd4b037802ff8c1066694bffea6
heat/engine/resource.py