bugfix: skip undefined variable when parsing string content

This commit is contained in:
debugtalk
2019-01-17 18:40:46 +08:00
parent 7b6922817c
commit d3c3732516
2 changed files with 3 additions and 2 deletions

View File

@@ -503,7 +503,8 @@ def parse_string_variables(content, variables_mapping, functions_mapping):
parsed_variable_value = parse_data(
variable_value,
variables_mapping,
functions_mapping
functions_mapping,
raise_if_variable_not_found=False
)
# TODO: replace variable label from $var to {{var}}