Skip to content

Commit

Permalink
[sous-chefsGH-476] Raise an error if the feature name cannot be trans…
Browse files Browse the repository at this point in the history
…lated
  • Loading branch information
dave-q committed Apr 25, 2021
1 parent 8cf6d96 commit 53c6aaf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def powershell_feature_name(names)
if result.stderr.to_s.empty?
next result.stdout.strip
else
Chef::Log.warn("Unable to translate feature #{name}")
Chef::Log.warn(result.stderr)
Chef::Log.error(result.stderr)
raise "Unable to translate feature #{name}"
next name
end
end
Expand Down

0 comments on commit 53c6aaf

Please sign in to comment.