Skip to content

Commit

Permalink
fix(helm): Changed error message to failure to better differentiate p…
Browse files Browse the repository at this point in the history
…roblems (#5517)

Changed error message to failure to beter differentiate problems
  • Loading branch information
bo156 authored Aug 31, 2023
1 parent 5fff500 commit fad2668
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkov/helm/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def get_binary_output(
signal.alarm(0)
if e:
logging.warning(
f"Error processing helm chart {chart_name} at dir: {chart_dir}. Working dir: {target_dir}. Error details: {str(e, 'utf-8')}")
f"Failed processing helm chart {chart_name} at dir: {chart_dir}. Working dir: {target_dir}. Failure details: {str(e, 'utf-8')}")
return None, None
logging.debug(
f"Ran helm command to template chart output. Chart: {chart_name}. dir: {target_dir}. Output: {str(o, 'utf-8')}. Errors: {str(e, 'utf-8')}")
Expand Down

0 comments on commit fad2668

Please sign in to comment.