summaryrefslogtreecommitdiffstats
path: root/urpm/download.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2013-03-26 19:37:17 +0000
committerThierry Vignaud <tv@mageia.org>2013-03-26 19:37:17 +0000
commit4202cce334ee46f8772dd8b451e343944dd46364 (patch)
tree4f1810896b5f11d347dc2304514493f4ba0be638 /urpm/download.pm
parent90958f4cd4828d665685efb1d1c931984e70c24c (diff)
downloadurpmi-4202cce334ee46f8772dd8b451e343944dd46364.tar
urpmi-4202cce334ee46f8772dd8b451e343944dd46364.tar.gz
urpmi-4202cce334ee46f8772dd8b451e343944dd46364.tar.bz2
urpmi-4202cce334ee46f8772dd8b451e343944dd46364.tar.xz
urpmi-4202cce334ee46f8772dd8b451e343944dd46364.zip
display exceptions that happened while downloading (mga#9529)
Diffstat (limited to 'urpm/download.pm')
-rw-r--r--urpm/download.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpm/download.pm b/urpm/download.pm
index 5b1470f1..8284e81a 100644
--- a/urpm/download.pm
+++ b/urpm/download.pm
@@ -926,6 +926,7 @@ sub sync_rel {
$urpm->{log}(N("retrieved %s", $files_text));
\@result_files;
} else {
+ $urpm->{log}("error: $err");
# don't leave partial download
unlink @result_files;
undef;