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

Load Index breaks blog if loaded JSON is invalid #3

Open
ishiikurisu opened this issue Jun 23, 2021 · 0 comments
Open

Load Index breaks blog if loaded JSON is invalid #3

ishiikurisu opened this issue Jun 23, 2021 · 0 comments

Comments

@ishiikurisu
Copy link
Member

Current scenario:

  • If the loaded index.blog.jsonfile is invalid, theloadIndex` method fails and the blog is unable to proceed.

Desired scenario:

  • If the index file can't be loaded, then the loadIndex function should pass an error object to the callback function so it can handle the situation as needed.
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