aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--rpmdrake.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 53920360..70d713af 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,5 @@
+- better error message while downloading mirror list (#39675)
+
Version 4.9.11 - 1 April 2008, Thierry Vignaud
- rpmdrake:
diff --git a/rpmdrake.pm b/rpmdrake.pm
index da4a8570..eab07e7a 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -557,7 +557,7 @@ sub mirrors {
gtkflush();
},
);
- $res or do { c::set_tagged_utf8($res); die $res };
+ $res or die N("retrieval of [%s] failed", $file) . "\n";
return $canceled ? () : cat_($file);
});
my @mirrors = @{ mirror::list(common::parse_LDAP_namespace_structure(cat_('/etc/product.id')), 'distrib') || [] };