diff options
| author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-04 18:08:31 -0500 |
|---|---|---|
| committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-04 18:11:16 -0500 |
| commit | 67925a96c83574b4f0cd55c3b732924c4c76eebb (patch) | |
| tree | de8b64f55c4ad60d3bf1f2eb625a7ed6321fefc2 /lib/bundler/installer | |
| parent | 0dec895db65758c44690eecfb2d40b1acfcd55f9 (diff) | |
| download | bundler-67925a96c83574b4f0cd55c3b732924c4c76eebb.tar.gz | |
[ParallelInstaller] Check for proper exception class
Diffstat (limited to 'lib/bundler/installer')
| -rw-r--r-- | lib/bundler/installer/parallel_installer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/installer/parallel_installer.rb b/lib/bundler/installer/parallel_installer.rb index 5b0138cb4a..d7ade763cf 100644 --- a/lib/bundler/installer/parallel_installer.rb +++ b/lib/bundler/installer/parallel_installer.rb @@ -125,7 +125,7 @@ module Bundler def handle_error errors = @specs.select(&:failed?).map(&:error) - if exception = errors.find {|e| e.is_a?(Bundler::Error) } + if exception = errors.find {|e| e.is_a?(Bundler::BundlerError) } raise exception end raise Bundler::InstallError, errors.map(&:to_s).join("\n\n") |
