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

Error event hook #57

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Open

Conversation

khalidsalomao
Copy link

Great tool!

I got a couple of 404 errors because I renamed a document, and in this case I could use an event hook to execute a custom action.

Whenever a file fails to load, flatdoc fails silently, so it would be interesting to fire an event signaling a load error.

The user could display a 404 text, or load another page in case of errors...

@khalidsalomao
Copy link
Author

I reviewed the build error but I am without a clue of how this tiny change has broke the build... 😬

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

Successfully merging this pull request may close these issues.

1 participant