Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Better error handling (especially for validation) #23

Open
bernhold opened this issue Dec 31, 2020 · 2 comments
Open

Better error handling (especially for validation) #23

bernhold opened this issue Dec 31, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@bernhold
Copy link
Contributor

Right now, all we can do w.r.t. validating content, etc. is to emit error messages as part of the generated content. That has some value, but it also has its limits.

It would be nice to be able to emit warnings or errors into the logging stream of jekyll itself.

It would be nice to be able to raise error that would provide a useful error message and halt processing.

@bernhold bernhold added the enhancement New feature or request label Dec 31, 2020
@bernhold
Copy link
Contributor Author

bernhold commented Jan 1, 2021

We should also pull all validation up to the index pages rather than the individual content pages.

And we should reorganize the index pages to distinguish between those content pages that are ready to use and those that are not.

And we need to make all of the content pages more robust to missing data. They should do something sensible.

@bernhold
Copy link
Contributor Author

bernhold commented Jan 1, 2021

More fundamentally, we should avoid jekyll failing to build due to missing data.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant