Skip to content

Commit

Permalink
added todo remark on error handler
Browse files Browse the repository at this point in the history
git-svn-id: http://rubygems.rubyforge.org/svn/trunk@727 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information
jimweirich committed Jan 5, 2005
1 parent 2ae8019 commit 21d3e62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rubygems/lib/rubygems/gem_commands.rb
Expand Up @@ -153,6 +153,10 @@ def execute
rescue Gem::LoadError => e
say " -> Local installation can't proceed due to LoadError: #{e.message}"
rescue => e
# TODO: Fix this handle to allow the error to propagate to
# the top level handler. Example the other errors as
# well. This implementation here looks suspicious to me --
# JimWeirich (4/Jan/05)
alert_error "Error installing gem #{gem_name}[.gem]: #{e.message}"
return
end
Expand Down

0 comments on commit 21d3e62

Please sign in to comment.