[katello-devel] error handling in orchestration

Mike McCune mmccune at redhat.com
Tue May 31 21:36:38 UTC 2011


On 05/31/2011 12:32 PM, Dmitri Dolguikh wrote:
> Yet another change in orchestration engine insides. Now when an
> exception is thrown during orchestration, and after the rollback is
> performed, the original exception that started it all will be re-thrown
> (and thus will show up in controllers).

thank you thank you thank you!

>
> If you are writing orchestration code, instead of using old and busted
> Glue.falure method, simply log the error, and then re-raise the exception!

+1

Mike
-- 
Mike McCune
mmccune AT redhat.com
Red Hat Engineering       | Portland, OR
Systems Management        | 650.254.4248




More information about the katello-devel mailing list