Skip to content

Commit

Permalink
fix: raise exception if unable to parse override file
Browse files Browse the repository at this point in the history
  • Loading branch information
lakkeger committed Jun 24, 2024
1 parent 7c2d5bc commit 6d9f75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_apply.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ def check_override_file_content(override_file):
result = hcl2.load(fp)
result = result["provider"][0]["aws"]
except Exception as e:
print(f'Unable to parse "{override_file}" as HCL file: {e}')
raise Exception(f'Unable to parse "{override_file}" as HCL file: {e}')

endpoints = result["endpoints"][0]
if "config" in endpoints and "configservice" in endpoints:
Expand Down

0 comments on commit 6d9f75b

Please sign in to comment.