diff options
| author | Jack Nagel | 2014-02-08 16:04:53 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2014-02-08 16:04:53 -0500 | 
| commit | 0b0d171566bf2794fdcc1a9be040c451f4091ff6 (patch) | |
| tree | 02616a89548508b98022aa5aeca44471ec531d0c /Library/Homebrew/exceptions.rb | |
| parent | 7d4709d9d6bd297a04f215f99bb08d909e71b668 (diff) | |
| download | brew-0b0d171566bf2794fdcc1a9be040c451f4091ff6.tar.bz2 | |
Don't let issue search kill install process
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 9 | 
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 24b9e706e..b03896669 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -169,7 +169,14 @@ class BuildError < Homebrew::InstallationError    end    def issues -    @issues ||= GitHub.issues_for_formula(formula.name) +    @issues ||= fetch_issues +  end + +  def fetch_issues +    GitHub.issues_for_formula(formula.name) +  rescue GitHub::RateLimitExceededError => e +    opoo e.message +    []    end    def dump  | 
