[openstack-dev] [nova] wrap_instance_event() swallows return codes....on purpose?

Chris Friesen chris.friesen at windriver.com
Mon Apr 21 22:01:07 UTC 2014


Hi all,

In compute/manager.py the function wrap_instance_event() just calls 
function().

This means that if it's used to decorate a function that returns a 
value, then the caller will never see the return code.

Is this a bug, or is the expectation that we would only ever use this 
wrapper for functions that don't return a value?

Chris



More information about the OpenStack-dev mailing list