Skip to content

Display source of error in message#450

Merged
sebastienros merged 1 commit intomainfrom
sebros/errorsrc
Jan 10, 2022
Merged

Display source of error in message#450
sebastienros merged 1 commit intomainfrom
sebros/errorsrc

Conversation

@sebastienros
Copy link
Copy Markdown
Owner

Fixes #449

@sebastienros
Copy link
Copy Markdown
Owner Author

sebastienros commented Jan 9, 2022

Result:

'=' was expected after the identifier of 'assign' at (2:14)
Source:
  {% assign a 'b' %}

And it keeps the spaces at the beginning of the line such that the column number is correct.

@sebastienros
Copy link
Copy Markdown
Owner Author

@deanebarker works for you?

@deanebarker
Copy link
Copy Markdown
Contributor

@sebastienros Yes, it appears to work perfectly. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Include the template line that failed to parse in the error output

2 participants