Skip to content

Commit 5daa479

Browse files
authored
Merge pull request #2 from 73h/1-cannot-find-the-env-variable-host-in-env-section-in-github-action-workflow
Exception message corrected
2 parents ae1595b + f6618f5 commit 5daa479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def replace_env_variables_in_app_yaml_file():
2222
if repl_env_var is not None:
2323
yaml_data["env_variables"][key] = repl_env_var
2424
else:
25-
raise Exception(f"cannot find the env-variable {key} in \"env\" section in github workflow")
25+
raise Exception(f"cannot find the env-variable {env_var[1:]} in \"env\" section in github workflow")
2626

2727
with open(yaml_file, "w") as stream:
2828
yaml.dump(yaml_data, stream)

0 commit comments

Comments
 (0)