[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] api.run: fatal errors versus exceptions
From: |
Paul Hoffman |
Subject: |
Re: [Fab-user] api.run: fatal errors versus exceptions |
Date: |
Thu, 19 Jan 2012 12:24:23 -0800 |
On Thu, Jan 19, 2012 at 11:16 AM, Jeff Forcier <address@hidden> wrote:
> N.B. This only impacts *connection* failures and not *authentication*
> errors (meaning passwords, bad host keys, etc.) Actual "wrong
> password" errors should already allow you at least 3 tries to
> re-enter, FWIW.
I understand the design here, but it really doesn't work well for
systems that are supposed to be automated with no user watching. In
such cases, "cannot connect" and "cannot log in with the set of
credentials given in the program" have exactly the same impact, and
would hopefully be able to be treated the same. Fortunately, wrapping
in try/except catches both anyway. But, please do consider making
unattended programs using Fabric as useful as those where someone has
the ability to type a different password.
--Paul Hoffman
- [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/17
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/18
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/18
- Re: [Fab-user] api.run: fatal errors versus exceptions, Steve Hajducko, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions,
Paul Hoffman <=
- Re: [Fab-user] api.run: fatal errors versus exceptions, Robert Terhaar, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Jeff Forcier, 2012/01/19
- Re: [Fab-user] api.run: fatal errors versus exceptions, Paul Hoffman, 2012/01/19