[PATCH] Better trace information when an exception is caught.
Sebastian Spaeth
Sebastian at SSpaeth.de
Thu Jan 27 11:21:25 GMT 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/offlineimap-project/attachments/20110127/2d1a9fbc/attachment-0001.sig>
More information about the OfflineIMAP-project
mailing list