diff options
author | Pascal Terjan <pterjan@mageia.org> | 2017-12-21 20:25:03 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2017-12-21 20:25:03 +0000 |
commit | 9b750454465e7cb8f2c78d13a9ed8eefbae62207 (patch) | |
tree | ff1321d0dbfa6798ee95bb8e1ef8d062a7cc1e50 /modules/mga-mirrors/files | |
parent | 3423178321addc2b41e76a5044a76811dbd67895 (diff) | |
download | puppet-9b750454465e7cb8f2c78d13a9ed8eefbae62207.tar puppet-9b750454465e7cb8f2c78d13a9ed8eefbae62207.tar.gz puppet-9b750454465e7cb8f2c78d13a9ed8eefbae62207.tar.bz2 puppet-9b750454465e7cb8f2c78d13a9ed8eefbae62207.tar.xz puppet-9b750454465e7cb8f2c78d13a9ed8eefbae62207.zip |
Catch another timeout exception
Diffstat (limited to 'modules/mga-mirrors/files')
-rwxr-xr-x | modules/mga-mirrors/files/check_mirrors_status | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mga-mirrors/files/check_mirrors_status b/modules/mga-mirrors/files/check_mirrors_status index 465b22dc..7e902549 100755 --- a/modules/mga-mirrors/files/check_mirrors_status +++ b/modules/mga-mirrors/files/check_mirrors_status @@ -13,7 +13,7 @@ def get_dates(base, archs_per_distro, optional=true) archs.each{|a| begin r[d][a] = get_date(base, d, a) - rescue Timeout::Error, ArgumentError, NoMethodError, Errno::EHOSTUNREACH => e + rescue Net::OpenTimeout, Timeout::Error, ArgumentError, NoMethodError, Errno::EHOSTUNREACH => e if !optional then raise end |