metomi/rose — pull request #1056 by benfitzpatrick (2013-12-02 14:57:28+00:00)
Title: rose edit: trap upgrade macro errors

This traps any exceptions raised (purposefully or accidentally) during the upgrade macro invocations.

@matthewrmshin, please review.

This change can be tested via inserting a `raise` exception statement in the `etc/rose-meta/rose-demo-upgrade/versions.py` file (e.g. in class `UpgradeGarden03`, method `upgrade`), launching `rose edit` for the `demo/rose-config-edit/demo_meta/app/13-upgrade` app, and upgrading it.