Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3d8dd96

Browse files
author
Joshua Timberman
committed
Merge pull request poise#12 from viralshah/COOK-1320
COOK-1320 catch correct exception
2 parents 2d05c7c + e9e4f24 commit 3d8dd96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/pip.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def current_installed_version
126126
end
127127
p = shell_out!(version_check_cmd)
128128
p.stdout.split(delimeter)[1].strip
129-
rescue Chef::Exceptions::ShellCommandFailed
129+
rescue Chef::Exceptions::ShellCommandFailed, Mixlib::ShellOut::ShellCommandFailed
130130
end
131131
end
132132

0 commit comments

Comments
 (0)