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

Gracefully fail when an error occurs #3

Open
giacomocavalieri opened this issue Sep 21, 2023 · 0 comments
Open

Gracefully fail when an error occurs #3

giacomocavalieri opened this issue Sep 21, 2023 · 0 comments

Comments

@giacomocavalieri
Copy link
Owner

There could be errors in different steps of the process:

  • file reading
  • metadata parsing
  • markdown parsing (I should fail if there's an element I'm not handling instead of returning a blockquote!!)

Right now I just fail with an error because there's a bunch of let assert, I could fail with a nice error message just to lose less time when something goes wrong to understand what happened

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