aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-pull.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-pull.rb b/Library/Contributions/cmd/brew-pull.rb
index 5967eb0b9..f3e737479 100755
--- a/Library/Contributions/cmd/brew-pull.rb
+++ b/Library/Contributions/cmd/brew-pull.rb
@@ -99,7 +99,8 @@ ARGV.named.each do |arg|
begin
changed_formulae << Formula[name]
- rescue
+ # Make sure we catch syntax errors.
+ rescue Exception => e
next
end
end