Skip to content

Commit

Permalink
COOK-1320 catch correct exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Viral Shah committed May 25, 2012
1 parent 210a502 commit e9e4f24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/pip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def current_installed_version
end
p = shell_out!(version_check_cmd)
p.stdout.split(delimeter)[1].strip
rescue Chef::Exceptions::ShellCommandFailed
rescue Chef::Exceptions::ShellCommandFailed, Mixlib::ShellOut::ShellCommandFailed
end
end

Expand Down

0 comments on commit e9e4f24

Please sign in to comment.