-
Notifications
You must be signed in to change notification settings - Fork 0
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
Export: Collect and report all tag errors to users #31
Comments
Pelican now reports the problems (hopefully it is detailed enough and understandable) directly in the application and provides links to the template which contains errors. Replacement in the document can be a problem when the final document has tens of pages. In such case the change that you would miss some problem is quite high. Is't better to not produce final document and fix the template first. |
I've seen two things worth reporting here:
|
(2) We no longer bother the check for alphabetic tag names. This error will now pass that check with the interpretation that the full string is the "tag name". It will then error with "The tag '[tag]' is not recognized. Please check the spelling and syntax.". For (1), a template tag can perhaps collect error messages and pass these up, similar to how it collects |
When using several tags in a report and the report generation fails because of an incorrect parameter in a tag, it may be difficult to find the tag that causes the failure.
I believe that, instead of failing, it would be useful to replace the failing tag with an error message so it would be easy to locate.
The text was updated successfully, but these errors were encountered: