On Wed, Jan 18, 2012 at 10:50 AM, Jeff Forcier <[email protected]> wrote:
> Hey Paul,
>
> Is the tutorial not clear enough on this topic? :)
>
>    http://docs.fabfile.org/en/1.3.3/tutorial.html#failure

It is clear enough once I figured out the exception. For the record, I
was using:
                try:
                        ThisRet = fabric.api.run(CmdString)
                except Exception as e:
Because Fabric is aborting, "Exception" doesn't catch it. It works
when I change it to:
                try:
                        ThisRet = fabric.api.run(CmdString)
                except BaseException as e:

--Paul Hoffman

_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user

Reply via email to