summaryrefslogtreecommitdiffstats
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
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)
-rw-r--r--NEWS3
-rw-r--r--urpm/download.pm1
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1045195f..91128987 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- library:
+ o display exceptions that happened while downloading (mga#9529)
+
Version 7.23 - 21 March 2013, by Thierry Vignaud
- library:
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;