diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-04-01 13:58:02 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-04-01 13:58:02 +0000 |
commit | b896eb0c57b2ae9583442071c920f398885b618d (patch) | |
tree | d02831d0a8a1ae8ad3e5660547e05c57a6ba2dd7 | |
parent | 326173a35e9d1c3d8a5cde8380f48c6d841a076a (diff) | |
download | rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar.gz rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar.bz2 rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.tar.xz rpmdrake-b896eb0c57b2ae9583442071c920f398885b618d.zip |
(mirrors) better error message while downloading mirror list (#39675)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | rpmdrake.pm | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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') || [] }; |