From: Mark Hymers Date: Fri, 29 Jul 2011 20:39:43 +0000 (+0100) Subject: Give exception information X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b87aea1ab34faa3252d4e398151b4cc2d596884;p=dak Give exception information Signed-off-by: Mark Hymers --- diff --git a/daklib/queue.py b/daklib/queue.py index 35d47429..c2f0414f 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1318,8 +1318,8 @@ class Upload(object): # Extract the source try: unpacked = UnpackedSource(dsc_filename) - except: - self.rejects.append("'dpkg-source -x' failed for %s." % dsc_filename) + except Exception, e: + self.rejects.append("'dpkg-source -x' failed for %s. (%s)" % (dsc_filename, str(e))) return if not cnf.Find("Dir::BTSVersionTrack"):