show error context in args splitter exception
This commit is contained in:
parent
85cc3b734f
commit
1c922135a0
1 changed files with 1 additions and 1 deletions
|
@ -256,6 +256,6 @@ def split_args(args):
|
|||
# If we're done and things are not at zero depth or we're still inside quotes,
|
||||
# raise an error to indicate that the args were unbalanced
|
||||
if print_depth or block_depth or comment_depth or inside_quotes:
|
||||
raise AnsibleParserError("failed at splitting arguments, either an unbalanced jinja2 block or quotes")
|
||||
raise AnsibleParserError("failed at splitting arguments, either an unbalanced jinja2 block or quotes: {}".format(args))
|
||||
|
||||
return params
|
||||
|
|
Loading…
Reference in a new issue