From 0b87aea1ab34faa3252d4e398151b4cc2d596884 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 29 Jul 2011 21:39:43 +0100 Subject: [PATCH] Give exception information Signed-off-by: Mark Hymers --- daklib/queue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"): -- 2.39.5