[PATCH] Better trace information when an exception is caught.

Edward Z. Yang ezyang at MIT.EDU
Thu Jan 27 16:50:57 GMT 2011


Good catch. :-)

Excerpts from Sebastian Spaeth's message of Thu Jan 27 06:21:25 -0500 2011:
> On Wed, 26 Jan 2011 16:32:25 -0500, "Edward Z. Yang" <ezyang at MIT.EDU> wrote:
> > Signed-off-by: Edward Z. Yang <ezyang at mit.edu>
> 
> > +++ b/offlineimap/accounts.py
> > -                                 + ": " + str(sys.exc_info()[1]))
> > +                                 + ": " + traceback.format_exc())
> 
> not importing traceback here?
> 
> > +++ b/offlineimap/repository/Base.py
> > -                        + key + ":"  +str(sys.exc_info()[1]))
> > +                        + key + ":"  +traceback.format_exc())
> 
> again, not importing traceback here?
> 
> *with* those being fixed:
> Signed-off-by: Sebastian Spaeth <Sebastian at SSpaeth.de>
> 
> Sebastian




More information about the OfflineIMAP-project mailing list