fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] api.run: fatal errors versus exceptions


From: Jeff Forcier
Subject: Re: [Fab-user] api.run: fatal errors versus exceptions
Date: Wed, 18 Jan 2012 10:50:19 -0800

Hey Paul,

Is the tutorial not clear enough on this topic? :)

    http://docs.fabfile.org/en/1.3.3/tutorial.html#failure

-Jeff

On Tue, Jan 17, 2012 at 5:48 PM, Paul Hoffman <address@hidden> wrote:
> Greetings again. Some things that go wrong in api.run cause Python to
> abort, instead of just throwing an exception. For example, "/bin/bash:
> not found" causes the calling program to die, instead of (what I
> expected) an exception that could be caught and analyzed.
>
> Is this intentional? If not, is it easy to fix?
>
> --Paul Hoffman
>
> _______________________________________________
> Fab-user mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/fab-user



-- 
Jeff Forcier
Unix sysadmin; Python/Ruby engineer
http://bitprophet.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]