From 1e6e1dde4cf76fe50d3c69f60e03cd62b6859474 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 3 Jul 2013 10:06:11 -0700 Subject: [PATCH] Don't always show an error at the end of brew versions --- Library/Homebrew/cmd/versions.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb index 86a184d947..1642220929 100644 --- a/Library/Homebrew/cmd/versions.rb +++ b/Library/Homebrew/cmd/versions.rb @@ -93,6 +93,8 @@ class Formula # We rescue these so that we can skip bad versions and # continue walking the history ohai "#{e} in #{name} at revision #{sha}", e.backtrace if ARGV.debug? + rescue FormulaUnavailableError + # Suppress this error end end end