diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/versions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb index 40e908172..f6aaea77c 100644 --- a/Library/Homebrew/cmd/versions.rb +++ b/Library/Homebrew/cmd/versions.rb @@ -70,10 +70,10 @@ class Formula begin Object.send(:remove_const, Formula.class_s(name)) nostdout { Formula.factory(path).version } - rescue SyntaxError, TypeError, NameError, ArgumentError + rescue SyntaxError, TypeError, NameError, ArgumentError => e # We rescue these so that we can skip bad versions and # continue walking the history - nil + ohai "#{e} in #{name} at revision #{sha}", e.backtrace if ARGV.debug? end end end |
