summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-08-16 12:56:01 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-08-16 12:56:01 -0400
commit5e3b38634b5b0a24b30d59b13ac7164dc613afb0 (patch)
tree5a4d9c66a1841a84ef645589bbce0096f8bf4c80 /dh
parent90353894282ef4b8327a941798c850029b7a309e (diff)
dh: Display $@ error if addon load fails. Closes: #541845
Diffstat (limited to 'dh')
-rwxr-xr-xdh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dh b/dh
index 9a6af32..bdd78c5 100755
--- a/dh
+++ b/dh
@@ -362,7 +362,7 @@ foreach my $addon (@{$dh{WITH}}) {
$mod=~s/-/_/g;
eval "use $mod";
if ($@) {
- error("--with $addon not supported or failed to load module $mod");
+ error("unable to load addon $addon: $@");
}
}