summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/Hash.pm
diff options
context:
space:
mode:
authorThomas Adam <thomas.adam@smoothwall.net>2012-05-16 15:39:18 +0200
committerGuillem Jover <guillem@debian.org>2012-05-23 09:09:24 +0200
commitf62054b8d94cbd514bf2d8fc824c8e81389b9d96 (patch)
treed499d4d32346696dcadd5b935c248a6da9afd9de /scripts/Dpkg/Control/Hash.pm
parent4f2bf1ec7f3c362ec2178b244718516eef60167d (diff)
downloaddpkg-f62054b8d94cbd514bf2d8fc824c8e81389b9d96.tar.gz
Dpkg::Source::Package: Do not obscure ‘require’ errors with custom errors
When coming out of eval blocks and reporting on errors, make sure $@ is included as part of the textual output so that the real underlying error is reported. dpkg-source: error: source package format `3.0 (native)' is not supported (Perl module Dpkg::Source::Package::V3::native is required) Of course, that file is being required just fine, the problem turned out to be missing File::Temp, but without including $@, it was not obvious due to the custom error message completely hiding this detail. Improved-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Guillem Jover <guillem@debian.org>
Diffstat (limited to 'scripts/Dpkg/Control/Hash.pm')
0 files changed, 0 insertions, 0 deletions