aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2013-04-10 12:02:35 -0500
committerJack Nagel2013-04-10 12:02:35 -0500
commit951b09b1c51e8aded1b4b8d7e9e2c5523dee350c (patch)
tree258ddaeabc0db11322dbb33ab15e3e34582d9bc0 /Library
parent47282db255d5da0c21b175bf4c883d8732235c4c (diff)
downloadbrew-951b09b1c51e8aded1b4b8d7e9e2c5523dee350c.tar.bz2
link: eliminate naked rescue
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/link.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/link.rb b/Library/Homebrew/cmd/link.rb
index 1f4b24652..e07bd2bc7 100644
--- a/Library/Homebrew/cmd/link.rb
+++ b/Library/Homebrew/cmd/link.rb
@@ -42,8 +42,7 @@ module Homebrew extend self
puts "Note that doing so can interfere with building software."
next
end
- rescue
- # Nothing to see here
+ rescue FormulaUnavailableError
end
keg.lock do