]> git.decadent.org.uk Git - dak.git/commitdiff
Give exception information
authorMark Hymers <mhy@debian.org>
Fri, 29 Jul 2011 20:39:43 +0000 (21:39 +0100)
committerMark Hymers <mhy@debian.org>
Fri, 29 Jul 2011 20:39:43 +0000 (21:39 +0100)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/queue.py

index 35d47429858e69613b50e1eebaf03e41f28594d1..c2f0414f6e31adb42402376a928e30787bf1405a 100755 (executable)
@@ -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"):