From b25a543dfd218cc5725d82fec4dbd9af1f50564b Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Sun, 28 Jun 2020 19:38:07 +0000 Subject: Fix error when failing to connect --- modules/mga-mirrors/files/check_mirrors_status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/mga-mirrors/files/check_mirrors_status') diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status index eae56627..867ff3ec 100755 --- a/modules/mga-mirrors/files/check_mirrors_status +++ b/modules/mga-mirrors/files/check_mirrors_status @@ -15,7 +15,7 @@ def get_dates(base, archs_per_distro, optional=true) r[d][a] = get_date(base, d, a) rescue Net::OpenTimeout, Timeout::Error, ArgumentError, NoMethodError, Errno::EHOSTUNREACH, Errno::ECONNREFUSED, IOError => e if !optional then - STDERR.puts "Failed to fetch #{version_url(url, distrib, arch)}" + STDERR.puts "Failed to fetch #{version_url(base, d, a)}" raise end end -- cgit v1.2.1