Skip to content

Commit

Permalink
Let original exception be re-raised
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jul 26, 2021
1 parent 2753d4b commit a669401
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bundler/lib/bundler/cli/install.rb
Expand Up @@ -83,15 +83,15 @@ def run
end

Bundler::CLI::Common.output_fund_metadata_summary
rescue GemNotFound => e
rescue GemNotFound
if options[:local] && Bundler.app_cache.exist?
Bundler.ui.warn "Some gems seem to be missing from your #{Bundler.settings.app_cache_path} directory."
end

raise e
rescue Gem::InvalidSpecificationException => e
raise
rescue Gem::InvalidSpecificationException
Bundler.ui.warn "You have one or more invalid gemspecs that need to be fixed."
raise e
raise
end

private
Expand Down

0 comments on commit a669401

Please sign in to comment.