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

Allow continuation of docs build on grammar error #27

Closed
RobertoRoos opened this issue Nov 28, 2024 · 1 comment
Closed

Allow continuation of docs build on grammar error #27

RobertoRoos opened this issue Nov 28, 2024 · 1 comment
Assignees

Comments

@RobertoRoos
Copy link
Member

Following #26

A grammar error should be logged as a big warning, but ultimately the project build should still finish. Not sure what the current state is.

@RobertoRoos RobertoRoos self-assigned this Nov 28, 2024
@RobertoRoos
Copy link
Member Author

RobertoRoos commented Nov 28, 2024

Oh, this is already handled correctly:

except TextXSyntaxError as err:
name = item.attrib.get("Name", "<Unknown>")
logger.error(
"Error parsing node `%s` in file `%s`\n(%s)",
name,
self._active_file,
str(err),
)

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

No branches or pull requests

1 participant