diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 07e700cdc..7d6f97262 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -158,7 +158,7 @@ class CurlApacheMirrorDownloadStrategy < CurlDownloadStrategy ohai "Best Mirror #{url}" curl url, '-C', downloaded_size, '-o', @temporary_path - rescue IndexError + rescue IndexError, MultiJson::DecodeError raise "Couldn't determine mirror. Try again later." end end |
