Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Better error transpirancy in ParseError #2

Closed
wants to merge 1 commit into from

Conversation

manthanabc
Copy link

Adds better transparency to ParseError::Grammar

Allows for ParseError::Grammar to contain more helpful context from pest error

@lavafroth
Copy link
Collaborator

Hi. It seems that the (new?) logging system in swhkd does not display the source of a pest grammar error message. I have created a pr waycrate/swhkd#289 to address this.

Please note, if you run the CLI wrapper on a source file that contains errors, they are promptly explained.

Closing this for now. Feel free to reopen it if the issue persists after the aforementioned PR has been merged.

@lavafroth lavafroth closed this Jan 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants