aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd
diff options
context:
space:
mode:
authorFelix Bünemann2016-01-28 05:51:25 +0100
committerMike McQuaid2016-02-01 18:37:36 +0000
commitf32c2a99740617140a019f1309113e2669684beb (patch)
tree740f1244a32afc13c774bf4db8f5edfec9f08435 /Library/Homebrew/dev-cmd
parenta584711115ef2c7aa4254f6b88975ed6977c9d3a (diff)
downloadbrew-f32c2a99740617140a019f1309113e2669684beb.tar.bz2
brew search: properly handle 503 errors.
This avoids crashing with an unknown key error, if the GitHub api response does not contain the ratelimit headers, e.g. when GitHub is down. It also tries to display the JSON error message in addition to the HTTP status. Closes Homebrew/homebrew#48538. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/dev-cmd')
0 files changed, 0 insertions, 0 deletions