summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lamb <lamby@debian.org>2016-11-07 13:24:04 +0000
committerHolger Levsen <holger@layer-acht.org>2016-11-07 18:11:09 +0100
commit951c9e62ff5c21dfdbb18d10c4be80811f3bee28 (patch)
tree55b0227102a923dfc734e65b858c79ba75d66641
parentefa0357d983ac5e029b989ae1a5a1cace9f28588 (diff)
downloadjenkins.debian.net-951c9e62ff5c21dfdbb18d10c4be80811f3bee28.tar.xz
reproducible Debian: might as well show the exception
Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index c8fdeba5..59d10d46 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -40,8 +40,8 @@ with open(sys.argv[1]) as fd:
if not pkgname in seen:
print(pkgname, end='|')
seen[pkgname] = True
- except:
- print("Warning: something went wrong while parsing the build manifest as YAML file.")
+ except Exception as exc:
+ print("Warning: something went wrong while parsing the build manifest as YAML file: {}".format(exc))
EOF
)