[Top][All Lists]

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

[Duplicity-tracker] [patch #6662] improve s3 backend error reporting

From: Peter Schuller
Subject: [Duplicity-tracker] [patch #6662] improve s3 backend error reporting
Date: Sat, 01 Nov 2008 12:48:35 +0000
User-agent: Opera/9.60 (X11; FreeBSD 7.0-RELEASE-p4 amd64; U; en) Presto/2.1.1


                 Summary: improve s3 backend error reporting
                 Project: duplicity
            Submitted by: scode
            Submitted on: Sat 01 Nov 2008 12:48:33 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



The following patch improves the error reporting of the boto backend. It is
verbose in that it includes full stack traces, but is IMO an important
improvement since it used to be you had *no* information.

It introduces a new 'util' module where I put the convenience function
exception_traceback() which produces a classical Python backtrace.

I'd like to consider some more generic method of associating a stacktrace
with errors (for example, the logging framework could automatically choose to
emit traces at a given log level etc), but for now this at least improves the
s3 backend.


File Attachments:

Date: Sat 01 Nov 2008 12:48:33 PM GMT  Name: duplicity-botoerrrep.patch 
Size: 4kB   By: scode



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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